225
Views
7
Comments
[ardoJSON] JSON Validation without schema
Question
ardojson
Service icon
Forge asset by João Barata

It is possible to implement a validation of JSON?

2014-02-13 10-06-38
Ricardo Silva

Hello bfcante,

What do you mean?

You want an action that checks if a string is valid json?


2025-06-03 16-30-12
bfcantante

Yes, that's it.

2022-07-07 18-45-50
Niels Favreau

Do you just want to return true/false, if so, I can provide you a solution.

Or do you also need to return the incorrect syntax/textLines?

2022-07-07 18-45-50
Niels Favreau

Update: I quickly made a forge component to validate json:


https://www.outsystems.com/forge/component/1948/json-validator/


Greetings,

Niels

2025-06-03 16-30-12
bfcantante

thank you.

In my case, I just want to return true/false.

I already created an extension but ardoJSON could also have a validation method.

2021-04-17 17-51-40
George Jeffcock

Hi all,

Anyone know how to validate a JSON payload with a json schema?

Thanks in advance


2023-08-28 07-00-10
Paulo Torres
Champion

Hi bfcantante,

Can you share your extension?

Thanks

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.