Removes a given field from the JSON object
%JSON_ObjectRemoveField( INT in handle, TEXT in field )
None
Function removes a given field from the JSON object
Exception is thrown if handle to JSON object is invalid or field does not exists.
INT _obj _obj := %JSON_ObjectFromString('{"values":[1,2,3]}') %JSON_ObjectRemoveField(_obj, "values") %JSON_FreeObjectHandle(_obj)
Related pages:
JSON format manipulation functionsFunction arguments - types
Pridať komentár
Pridať komentár