- <init>
Creates an empty JsonArray from the given collection of objects.
- add
- get
Returns the underlying object at the given index, or null if it does not exist
or is out of bounds (
- getBoolean
Returns the Boolean at the given index, or the default if it does not exist or
is the wrong type.
- getDouble
Returns the Double at the given index, or the default if it does not exist or is
the wrong type.
- getInt
Returns the Integer at the given index, or the default if it does not exist or
is the wrong type.
- getLong
Returns the Long at the given index, or the default if it does not exist or is
the wrong type.
- getNumber
Returns the Float at the given index, or the default if it does not exist or is
the wrong type.
- getObject
Returns the JsonObject at the given index, or the default if it does not exist
or is the wrong type.
- getString
Returns the String at the given index, or the default if it does not exist or is
the wrong type.