Calling convention: CIP_JSON_ObjectToString(JSONObjectPointer: NativeInt): String
Description: Serializes a JSON value to compact JSON text.
Parameters:
JSONObjectPointer = Valid pointer to a managed JSON value.
Returns: String: serialized JSON text. NULL or 0 returns without assigning a result; an invalid nonzero pointer raises an exception.
Availability: Default.
Example:
try
JSONObj := CIP_JSON_LoadObjectFromFile("c:\temp\climate.json");
WorkStr := CIP_JSON_ObjectToString(JSONObj);
finally
CIP_JSON_FreeObject(JSONObj);
end;