Einhugur JSON Plugin III for Xojo

JSONArray.BooleanValueByIndex Method

Gets or sets Boolean value by given index.

BooleanValueByIndex(
   index as Integer) as Boolean

BooleanValueByIndex(
   index as Integer
   assigns value as Boolean)

Parameters

index
The index of the value to get or set.
value (assignment parameter)
The value to set when using the setter.

Returns

Boolean
The returned value when using the getter. If index is not found then default is returned which is false for Boolean.

Remarks

See Also

JSONArray Class