Lazarus

Free Pascal => General => Topic started by: MaLu on March 28, 2023, 03:57:38 pm

Title: JSON Schema - JSONpath
Post by: MaLu on March 28, 2023, 03:57:38 pm
Hello,

I currently have JSON support built into my project. This includes reading and writing to and from a JSON object. This is to record order data.

To ensure data integrity I came across schema files.
Are there already units for this that allow validation data using a schema file?

Furthermore, I also read about JSONpath when familiarizing myself with JSON. I would also be interested to know if there are already units in object pascal?

I haven't been able to find anything in my search so far.



Title: Re: JSON Schema - JSONpath
Post by: Zvoni on March 28, 2023, 04:40:44 pm
Hello,

I currently have JSON support built into my project. This includes reading and writing to and from a JSON object. This is to record order data.

To ensure data integrity I came across schema files.
Are there already units for this that allow validation data using a schema file?

Furthermore, I also read about JSONpath when familiarizing myself with JSON. I would also be interested to know if there are already units in object pascal?

I haven't been able to find anything in my search so far.
https://wiki.freepascal.org/JSON
https://wiki.freepascal.org/fcl-json
https://wiki.freepascal.org/Streaming_JSON
Title: Re: JSON Schema - JSONpath
Post by: paweld on March 28, 2023, 10:57:23 pm
https://forum.lazarus.freepascal.org/index.php/topic,62236.msg470542.html
Title: Re: JSON Schema - JSONpath
Post by: MaLu on March 29, 2023, 02:40:48 pm
Many thanks for your quick answers.
I think the link to "https://forum.lazarus.freepascal.org/index.php/topic,62236.msg470542.html" is what I was looking for.
I'll read through it and get back to you if necessary.

Many thanks again at this point.
TinyPortal © 2005-2018