public class JsonArray extends java.util.ArrayList<JsonValue> implements JsonValue
| Constructor and Description |
|---|
JsonArray() |
| Modifier and Type | Method and Description |
|---|---|
JsonArray |
addValue(JsonValue val)
Add value to this array.
|
java.lang.String |
toFormattedString()
Get a human readable "pretty" JSON string.
|
java.lang.String |
toString() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizepublic java.lang.String toString()
toString in class java.util.AbstractCollection<JsonValue>public java.lang.String toFormattedString()
JsonValuetoFormattedString in interface JsonValue