changes.mady.by.user D2000 Dev Team
Uložené nov 25, 2019
changes.mady.by.user D2000 Doc Team
Uložené mar 02, 2022
Get Gets a text representation of the JSON object.
TEXT %JSON_ObjectToString( INT in handle, BOOL in pretty )
None
Function get gets a text representation of the JSON object.
Exception is thrown if handle to the JSON object is invalid.
INT _obj _obj := %JSON_CreateObject() %JSON_ObjectSetValue(_obj, "Name", "John Smith") TEXT _txt _txt := %JSON_ObjectToString(_obj) %JSON_FreeObjectHandle(_obj)
JSON format manipulation functionsFunction arguments - types