Clears the JSON object.
%JSON_ObjectClear( INT in handle )
Function removes all fields from the JSON object.
Exception is thrown if the handle to the object is invalid.
INT _obj _obj := %JSON_ObjectFromString('{"name":"Jon","surname":"English"}') %JSON_ObjectClear(_obj) %JSON_FreeObjectHandle(_obj)
Related pages:
JSON format manipulation functionsFunction arguments - types
0 komentárov