changes.mady.by.user D2000 Dev Team
Uložené nov 25, 2019
changes.mady.by.user D2000 Doc Team
Uložené mar 02, 2022
Check Checks if there is a value in a given field in the JSON object.
BOOL %JSON_ObjectIsValue( INT in handle, TEXT in field )
@TRUE if in given field is value of type BOOL, INT, REAL, TEXT or invalid value, else @FALSE.
Function check checks if there is a value of type BOOL, INT, REAL, TEXT or invalid value in a given index field in the JSON object.
Exception is thrown if handle to JSON object is invalid or field does not exists.
INT _obj _obj := %JSON_ObjectFromString('{"Count":5}') BOOL _is_value _is_value := %JSON_ObjectIsValue(_obj, "Count") %JSON_FreeObjectHandle(_obj)
JSON format manipulation functionsFunction arguments - types