This object generates JSON strings. It can be initialized with a Map or a List. Both can contain other Maps or Lists, arrays and other primitive values. See the JSON tutorial.
Creates a JSON string from the initialized object. The string will be indented and easier for reading. Note that the string created is a valid JSON string. Indent - Number of spaces to add to each level.
ToStringAsString
Creates a JSON string from the initialized object. This string does not include any extra whitespace.
Parses JSON formatted strings: Description of JSON. JSON objects are converted to Maps and JSON arrays are converted to Lists. After initializing the object you will usually call NextObject to get a single Map object. If the JSON string top level value is an array you should call NextArray. Afterward you should work with the Map or List and fetch the required data. See the JSON tutorial. Typical code: DimJSONAsJSONParser DimMap1AsMap JSON.Initialize(File.ReadString(File.DirAssets, "example.json")) 'Read the text from a file. Map1 = JSON.NextObject