Package | Description |
---|---|
com.restfb.json |
Repackaging of the json.org reference implementation.
|
Modifier and Type | Method and Description |
---|---|
JsonArray |
JsonArray.getJsonArray(int index)
Get the JsonArray associated with an index.
|
JsonArray |
JsonObject.getJsonArray(String key)
Get the JsonArray value associated with a key.
|
JsonArray |
JsonObject.names()
Produce a JsonArray containing the names of the elements of this
JsonObject.
|
JsonArray |
JsonArray.optJsonArray(int index)
Get the optional JsonArray associated with an index.
|
JsonArray |
JsonObject.optJsonArray(String key)
Get an optional JsonArray associated with a key.
|
JsonArray |
JsonArray.put(boolean value)
Append a boolean value.
|
JsonArray |
JsonArray.put(Collection<?> value)
Put a value in the JsonArray, where the value will be a JsonArray which is
produced from a Collection.
|
JsonArray |
JsonArray.put(double value)
Append a double value.
|
JsonArray |
JsonArray.put(int value)
Append an int value.
|
JsonArray |
JsonArray.put(int index,
boolean value)
Put or replace a boolean value in the JsonArray.
|
JsonArray |
JsonArray.put(int index,
Collection<?> value)
Put a value in the JsonArray, where the value will be a JsonArray which is
produced from a Collection.
|
JsonArray |
JsonArray.put(int index,
double value)
Put or replace a double value.
|
JsonArray |
JsonArray.put(int index,
int value)
Put or replace an int value.
|
JsonArray |
JsonArray.put(int index,
long value)
Put or replace a long value.
|
JsonArray |
JsonArray.put(int index,
Map<?,?> value)
Put a value in the JsonArray, where the value will be a JsonObject which is
produced from a Map.
|
JsonArray |
JsonArray.put(int index,
Object value)
Put or replace an object value in the JsonArray.
|
JsonArray |
JsonArray.put(long value)
Append an long value.
|
JsonArray |
JsonArray.put(Map<?,?> value)
Put a value in the JsonArray, where the value will be a JsonObject which is
produced from a Map.
|
JsonArray |
JsonArray.put(Object value)
Append an object value.
|
JsonArray |
JsonObject.toJsonArray(JsonArray names)
Produce a JsonArray containing the values of the members of this
JsonObject.
|
Modifier and Type | Method and Description |
---|---|
JsonArray |
JsonObject.toJsonArray(JsonArray names)
Produce a JsonArray containing the values of the members of this
JsonObject.
|
JsonObject |
JsonArray.toJsonObject(JsonArray names)
Produce a JsonObject by combining a JsonArray of names with the values of
this JsonArray.
|
Copyright © 2014. All rights reserved.