Einhugur JSON Plugin III for Xojo

JSONArray.Operator_Subscript Method

Reads the array using array operator, returning the result as JSONPrimitive.

Operator_Subscript(
   index as Integer) as EinhugurJSONIII.JSONPrimitive

Parameters

index
Index of the element to read.

Returns

EinhugurJSONIII.JSONPrimitive
The read element or nil if out of range.

Remarks

This method can throw OutOfBoundsException.

See Also

JSONArray Class