Package | Description |
---|---|
org.primefaces.context | |
org.primefaces.json |
Modifier and Type | Method | Description |
---|---|---|
void |
PrimePartialResponseWriter.encodeJSONArray(String paramName,
JSONArray jsonArray) |
Modifier and Type | Method | 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(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,
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,
Object value) |
Put or replace an object 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,
Map<?,?> value) |
Put a value in the JSONArray, where the value will be a JSONObject that
is produced from a Map.
|
JSONArray |
JSONArray.put(long value) |
Append an long value.
|
JSONArray |
JSONArray.put(Object value) |
Append an object 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(Map<?,?> value) |
Put a value in the JSONArray, where the value will be a JSONObject which
is produced from a Map.
|
JSONArray |
JSONObject.toJSONArray(JSONArray names) |
Produce a JSONArray containing the values of the members of this
JSONObject.
|
Modifier and Type | Method | 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 © 2018. All rights reserved.