IsNullProperty method: JsonObject class
Syntax
IsNullProperty(Name)
Description
Use this method to check whether the property is null or not.
Parameters
| Parameter | Description |
|---|---|
|
Name |
Specifies the name of the Json object that needs to be checked as a string. |
Returns
Boolean.
Example
Local JsonObject &jObj = CreateJsonObject();
&jObj.AddProperty("Name", "TYPE_STRING");
&jObj.AddProperty("Id", "TYPE_INT");
Local boolean &bNull = &jObj.IsNullProperty("Id");