[fpc-pascal] Parse JSON
fpc.2021 at t-net.ruhr
Sun Jun 25 22:39:00 CEST 2023
fpJson fully supports JSON:
There's also JSON support in the LGenerics package, but it's not a bundled package as far as I know.
----- Original Message -----
From: Darius Blaszyk via fpc-pascal <fpc-pascal at lists.freepascal.org>
To: FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>
Sent: Friday, June 23, 2023, 16:02:26
Subject: [fpc-pascal] Parse JSON
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.
Ideally, I'd like to be able to stick to the FPC out-of-the-box library.
Any help would be appreciated.
More information about the fpc-pascal