Calling convention: CIP_JSON_FreeObject(JSONObjectPointer: NativeInt)
Description: Removes and frees one JSON root object from the runtime JSON-object container. The pointer becomes invalid after this call.
Parameters:
JSONObjectPointer = Pointer returned by a JSON object-creation function. NULL or 0 is ignored; an invalid nonzero pointer raises an exception.
Returns: No defined return value.
Availability: Default.
Example:
try
JSONObj := CIP_JSON_CreateObject("{""name"":""John""}");
CIP_AddScreenLog(CIP_JSON_GetValue(JSONObj, "name", "string"));
finally
CIP_JSON_FreeObject(JSONObj);
end;