JSON Array Methods
This page lists the methods of a JSONARRAY object. Methods can be accessed via the dot(.
) operator.
getBool()
Syntax
jsonarray.getBool( idx )
Description
Returns the boolean value at a specified index.
Return value
BOOL
Parameters
Parameter | Description | Data type |
---|---|---|
|
The index of the value to return |
|
getDouble()
Syntax
jsonarray.getDouble( idx )
Description
Returns the double at a specified index.
Return value
DOUBLE
Parameters
Parameter | Description | Data type |
---|---|---|
|
The index of the value to return |
|
getInt()
Syntax
jsonarray.getInt( idx )
Description
Returns the integer value at a specified index.
Return value
INT
Parameters
Parameter | Description | Data type |
---|---|---|
|
The index of the value to return |
|
getJsonArray()
Syntax
jsonarray.getJSONArray( idx )
Description
Returns the JSONArray value at a specified index.
Return value
BOOL
Parameters
Parameter | Description | Data type |
---|---|---|
|
The index of the value to return |
|
getJsonObject()
Syntax
jsonarray.getJsonObject( idx )
Description
Returns the JSONOBJECT value at a specified index.
Return value
JSONOBJECT
Parameters
Parameter | Description | Data type |
---|---|---|
|
The index of the value to return |
|