public class JsonArray extends JsonValue
| Modifier | Constructor and Description |
|---|---|
protected |
JsonArray() |
| Modifier and Type | Method and Description |
|---|---|
static JsonArray |
create() |
JsonValue |
get(int index) |
JsonArray |
getArray(int index) |
boolean |
getBoolean(int index) |
double |
getNumber(int index) |
JsonObject |
getObject(int index) |
String |
getString(int index) |
int |
length() |
void |
set(int index,
boolean bool) |
void |
set(int index,
double number) |
void |
set(int index,
JsonValue value) |
void |
set(int index,
String string) |
asBoolean, asNumber, asString, getType, jsEquals, toJson, toNativepublic static JsonArray create()
public final JsonValue get(int index)
public final JsonArray getArray(int index)
public final boolean getBoolean(int index)
public final double getNumber(int index)
public final JsonObject getObject(int index)
public final String getString(int index)
public final int length()
public final void set(int index,
JsonValue value)
public final void set(int index,
String string)
public final void set(int index,
double number)
public final void set(int index,
boolean bool)
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.