Page 1 of 1

JSON - Anyone have an example

Posted: Sun Oct 31, 2021 12:49 pm
by jay_dee
Hi,
JSON looks like a simple standard to package values. Does anyone have any examples of using the JSON parser in FC or FAD?
For FAD ideally I would like to open a JSON formatted text file, parse this and extract settings to use in the FAD program.
Or am I incorrectly trying to use JSON when a simplier method exists?
Looking way beyound current requirments...If I do use JSON then potentially I can use other PC/Laptop based JSON tools in the future.
J.

Re: JSON - Anyone have an example

Posted: Mon Nov 01, 2021 11:36 am
by BenR
Hello,

Here are some examples for you to read in XML or JSON data. The console can be handy as it will show you the contents of the structure.
XML_Example.zip
(3.28 KiB) Downloaded 314 times
JSON_Example.zip
(3.23 KiB) Downloaded 277 times
If you need anything more specific then let us know.

Re: JSON - Anyone have an example

Posted: Mon Nov 01, 2021 12:25 pm
by jay_dee
Thanks Ben, I'll have a look through. :)