IsJSON()

Syntax

Result = IsJSON(#JSON)
Description
Tests if the given #JSON number represents valid and correctly initialized JSON data.

Parameters

#JSON The JSON to use.

Return value

Nonzero if #JSON is valid JSON data, zero otherwise.

Remarks

This function is bulletproof and can be used with any value. If the 'Result' is not zero then the object is valid and initialized, otherwise it will equal zero.

See Also

CreateJSON(), CatchJSON(), LoadJSON(), ParseJSON(), FreeJSON()

Supported OS

All

<- InsertJSONStructure() - Json Index - JSONArraySize() ->