Clear JSON object.
%JSON_ObjectClear( INT in handle )
Function removes all fields from JSON object.
Exception is thrown if handle to 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
Pridať komentár
Pridať komentár