JsonArray

JSON Array, basically a table but more restricted to match JSON arrays

JsonArray.add

Adds specified value to this array
overload 1:
JsonArray:add(elem)
Method Property Fluent Description Representation
elem accepts anything
Return Value a Boolean

JsonArray.remove

Removes specified value from this array
overload 1:
JsonArray:remove(elem)
Method Property Fluent Description Representation
elem accepts anything
Return Value a Boolean

JsonArray.get

Returns value by specified index
overload 1:
JsonArray:get(index)
Method Property Fluent Description Representation
index accepts an Integer
Return Value anything

JsonArray.indexOf

Returns first index of provided value in this array
overload 1:
JsonArray:indexOf(elem)
Method Property Fluent Description Representation
elem accepts anything
Return Value an Integer

JsonArray.insert

Inserts provided value in this array at specified index
overload 1:
JsonArray:insert(index, elem)
Method Property Fluent Description Representation
index accepts an Integer
elem accepts anything
Return Value nil

JsonArray.clear

Clears this array
overload 1:
JsonArray:clear()
Method Property Fluent Description Representation
Return Value nil

JsonArray.lastIndexOf

Returns last index of provided value in this array
overload 1:
JsonArray:lastIndexOf(elem)
Method Property Fluent Description Representation
elem accepts anything
Return Value an Integer

JsonArray.size

Returns size of this array
overload 1:
JsonArray:size()
Method Property Fluent Description Representation
Return Value an Integer

JsonArray.contains

Checks if this array contains specified value
overload 1:
JsonArray:contains(elem)
Method Property Fluent Description Representation
elem accepts anything
Return Value a Boolean

JsonArray.set

Sets provided value to specified index in this array
overload 1:
JsonArray:set(index, elem)
Method Property Fluent Description Representation
index accepts an Integer
elem accepts anything
Return Value nil

JsonArray.removeAt

Removes value at specified index in this array
overload 1:
JsonArray:removeAt(index)
Method Property Fluent Description Representation
index accepts an Integer
Return Value anything
a a