Gambas Documentation - /comp/gb.util.web/jsoncollection

/comp/gb.util.web/jsoncollection

# JSONCollection (gb.util.web)

This class represents a JSON object.

It is a collection that allows to associate a Null value with a key, which is not possible with a standard Gambas collection.

It is used by the JSON.Decode() method when its UseNull argument is set.

This class inherits Collection in gb.
This class is
Creates a new collection.
creatable
.
This class acts like a read / write array.
This class is enumerable with the FOR EACH keyword.

Properties | Methods
--- | ---
Returns the number of elements stored in the collection. Count Returns the key of the last read or last enumerated element. Key Returns the number of elements stored in the collection. Length | Adds an element to the collection. Add Clears the collection. Clear Returns a copy of the collection. Copy Returns if something is associated with this key in the collection. Exist Removes an element from the collection. Remove