Vidíte historickú verziu tejto stránky. Pozrite si aktuálnu verziu.

Porovnať s aktuálnou verziou Zobraziť históriu stránky

Verzia 1 Aktuálny »

%JSON_ObjectClear function


Function

Clear JSON object.

Declaration
%JSON_ObjectClear(
    INT in handle
 )
Parameters
handleHandle to JSON object.
Return value
None


Description

Funcion removes all fields from JSON object.

Exception is thrown if handle to object is invalid.

Example
 INT _obj
 _obj := %JSON_ObjectFromString('{"name":"Jon","surname":"English"}')
 
 %JSON_ObjectClear(_obj)

 %JSON_FreeObjectHandle(_obj)
  • Žiadne štítky