JSON¶
Include: Use System\Json.pkg
JSON APIs provide constants for whitespace and JSON value types, plus cJsonObject for parsing, building, stringifying, and converting JSON data.
Reference¶
Example¶
Handle hoJson
Boolean bOk
String sName
Get Create (RefClass(cJsonObject)) to hoJson
Get ParseString of hoJson '{"name":"DataFlex"}' to bOk
If (bOk) Begin
Get MemberValue of hoJson "name" to sName
End
Send Destroy of hoJson