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.

Deze klasse erft Collection in gb.

Deze klasse is creƫerbaar.

Deze klasse reageert als een leesbaar / schrijf reeks.

Deze klasse is opsombaar met sleutelwoord FOR EACH.

Inherited properties
Count   Returns the number of elements stored in the collection.
Default   Return or set the collection default value that is returned when no value is associated with a key.
Empty   Return if the collection is empty.
First   Returns the key of the first element inserted in the collection, or NULL if the collection is void.
Key   Returns the key of the last read or last enumerated element.
Keys   Return a string array of all collection keys.
Last   Returns the key of the last element inserted in the collection, or NULL if the collection is void.
Length   Returns the number of elements stored in the collection.

Methode
Copy  

Inherited methods
Add   Adds an element to the collection.
Clear   Clears the collection.
Exist   Returns if something is associated with this key in the collection.
Remove   Removes an element from the collection.