JavaXT
|
|
JSONArray ClassA JSON array is simply an array of objects. The string representation of a JSON array is a widely-used standard format for exchanging data. The string begins with a left square bracket "[" and ends with a right square bracket "]". Each object in the array is separated by comma ",".
Constructors JSONArray( )
Public Methodsset( int index, Object object ) returns JSONValue Updates an object to the array. Returns the original value that was associated with the index. remove( int index ) returns JSONValue Remove entry. Returns the value that was associated with the index. equals( Object obj ) returns boolean Returns true if the given object is a JSONArray and the JSONArray contains the same entries as this array. Order is important. toString( int indentFactor ) returns String Returns a printable, displayable, transmittable representation of the array. |