[fpc-pascal] Parse JSON

Darius Blaszyk dhkblaszyk at zeelandnet.nl
Fri Jun 23 16:02:26 CEST 2023

Hi all,

I've hardly done anything with JSON in Freepascal before, so apologies 
for the trivial question. I want to traverse an array in JSON and 
retrieve the elements (which I don't know what they are in advance) one 
by one. An example of the JSON file is given below.

"keywords": {
       "key": "value",
       "key1": "value1",
       "key2": "value2"

Ideally, I'd like to be able to stick to the FPC out-of-the-box library. 
Any help would be appreciated.

Rgds, Darius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20230623/86f0a35c/attachment.htm>

More information about the fpc-pascal mailing list