Calling convention: CIP_JSON_CreateObject("JSONStr": String): NativeInt
Description: Parses a JSON string and stores the resulting root value in the runtime JSON-object container. Free the returned object when it is no longer needed.
Parameters:
JSONStr = JSON text to parse.
Returns: NativeInt: managed pointer to the parsed JSON value; NULL if the text cannot be parsed.
Availability: Default.
Example:
try
JSONObj := CIP_JSON_CreateObject("{""name"":""John""}");
CIP_AddScreenLog(CIP_JSON_GetValue(JSONObj, "name", "string"));
finally
CIP_JSON_FreeObject(JSONObj);
end;