public class JSONArray extends JSONValue
Modifier and Type | Field and Description |
---|---|
(package private) java.util.ArrayList<JSONValue> |
ivArray
The internal array list to hold the JSON values.
|
private static long |
serialVersionUID
The class' serialization version id.
|
Constructor and Description |
---|
JSONArray() |
Modifier and Type | Method and Description |
---|---|
void |
add(JSONValue val)
Adds a value to the array.
|
void |
serialize(java.lang.StringBuilder sb)
Serialize the JSON value into a character string.
|
encodeString
private static final long serialVersionUID
java.util.ArrayList<JSONValue> ivArray
public void add(JSONValue val)
val
- (JSONValue) Value to add to the array.