View on GitHub

JSONToCode

Transform JSON to 4D Code

JSONToCode

Main method of component. It convert JSON into 4D code.

Usage

$codeAsString:=JSONToCode($jsonString)

For JSON String

{"array": [1, 2, 3], "bool": true}

the result will be

New object("array";New collection(1;2;3);"bool";True)

Used by