Uses of Class
com.restfb.json.JsonArray

Packages that use JsonArray
Package
Description
Repackaging of the minimal-json implementation.
  • Uses of JsonArray in com.restfb.json

    Methods in com.restfb.json that return JsonArray
    Modifier and Type
    Method
    Description
    JsonArray.add(boolean value)
    Appends the JSON representation of the specified boolean value to the end of this array.
    JsonArray.add(double value)
    Appends the JSON representation of the specified double value to the end of this array.
    JsonArray.add(float value)
    Appends the JSON representation of the specified float value to the end of this array.
    JsonArray.add(int value)
    Appends the JSON representation of the specified int value to the end of this array.
    JsonArray.add(long value)
    Appends the JSON representation of the specified long value to the end of this array.
    JsonArray.add(JsonValue value)
    Appends the specified JSON value to the end of this array.
    JsonArray.add(String value)
    Appends the JSON representation of the specified string to the end of this array.
    static JsonArray
    Json.array()
    Creates a new empty JsonArray.
    static JsonArray
    Json.array(boolean... values)
    Creates a new JsonArray that contains the JSON representations of the given boolean values.
    static JsonArray
    Json.array(double... values)
    Creates a new JsonArray that contains the JSON representations of the given double values.
    static JsonArray
    Json.array(float... values)
    Creates a new JsonArray that contains the JSON representations of the given float values.
    static JsonArray
    Json.array(int... values)
    Creates a new JsonArray that contains the JSON representations of the given int values.
    static JsonArray
    Json.array(long... values)
    Creates a new JsonArray that contains the JSON representations of the given long values.
    static JsonArray
    Json.array(String... strings)
    Creates a new JsonArray that contains the JSON representations of the given strings.
    JsonArray.asArray()
     
    JsonValue.asArray()
    Returns this JSON value as JsonArray, assuming that this value represents a JSON array.
    JsonArray.remove(int index)
    Removes the element at the specified index from this array.
    JsonArray.set(int index, boolean value)
    Replaces the element at the specified position in this array with the JSON representation of the specified boolean value.
    JsonArray.set(int index, double value)
    Replaces the element at the specified position in this array with the JSON representation of the specified double value.
    JsonArray.set(int index, float value)
    Replaces the element at the specified position in this array with the JSON representation of the specified float value.
    JsonArray.set(int index, int value)
    Replaces the element at the specified position in this array with the JSON representation of the specified int value.
    JsonArray.set(int index, long value)
    Replaces the element at the specified position in this array with the JSON representation of the specified long value.
    JsonArray.set(int index, JsonValue value)
    Replaces the element at the specified position in this array with the specified JSON value.
    JsonArray.set(int index, String value)
    Replaces the element at the specified position in this array with the JSON representation of the specified string.
    static JsonArray
    JsonArray.unmodifiableArray(JsonArray array)
    Returns an unmodifiable wrapper for the specified JsonArray.
    Methods in com.restfb.json with parameters of type JsonArray
    Modifier and Type
    Method
    Description
    static JsonArray
    JsonArray.unmodifiableArray(JsonArray array)
    Returns an unmodifiable wrapper for the specified JsonArray.
    Constructors in com.restfb.json with parameters of type JsonArray
    Modifier
    Constructor
    Description
     
    Creates a new JsonArray with the contents of the specified JSON array.