Recent

Author Topic: JSON Schema - JSONpath  (Read 833 times)

MaLu

  • Newbie
  • Posts: 2
JSON Schema - JSONpath
« 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.




Zvoni

  • Hero Member
  • *****
  • Posts: 2737
Re: JSON Schema - JSONpath
« Reply #1 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
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad

paweld

  • Hero Member
  • *****
  • Posts: 1268
Best regards / Pozdrawiam
paweld

MaLu

  • Newbie
  • Posts: 2
Re: JSON Schema - JSONpath
« Reply #3 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