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 fields count in the JSON object.
INT %JSON_ObjectGetFieldsCount( INT in handle )
Fields count in the JSON object
Function get gets fields count in the JSON object.
Exception is thrown if handle to the JSON object is invalid.
INT _obj _obj := %JSON_ObjectFromString('{"1":"A","2":"B"}') INT _count _count := %JSON_ObjectGetFieldsCount(_obj) %JSON_FreeObjectHandle(_obj)
JSON format manipulation functionsFunction arguments - types