%JSON_ObjectSetValue(
INT in handle,
TEXT in field,
UNIVAL in value
)
Parameters
handle
Handle to parent JSON object.
field
Field name
value
New value
Return value
None
Description
Function adds name-value pair into JSON object. Supported types are BOOL, INT, REAL, TEXT and invalid value. If you want to insert TIME, first you have to convert it to TEXT.
Exception is thrown if handle to parent JSON object is invalid, new value have unsupported type or field does not exists.