ExtractJSONStructure form file
Posted: Sat Mar 26, 2016 11:31 pm
What i'm doing wrong?, i get nothing from the file, but it is well loaded :
and my JSON file : config.json
Code: Select all
Structure config
Name$
Age.l
List Books.s()
EndStructure
LoadJSON(0,"config.json")
ExtractJSONStructure(JSONValue(0), @P.config, config)
Debug P\Name$
Debug P\Age
Debug ListSize(P\Books())
Code: Select all
{"Name": "John Smith", "Age": 42, "Books": ["Investing For Dummies", "A Little Bit of Everything For Dummies"] }