Package | Description |
---|---|
org.camunda.bpm.engine.impl.json | |
org.camunda.bpm.engine.impl.util | |
org.camunda.bpm.engine.impl.util.json |
Modifier and Type | Method and Description |
---|---|
JSONArray |
JsonArrayOfObjectsConverter.toJsonArray(List<T> objects) |
abstract JSONArray |
JsonArrayConverter.toJsonArray(T object) |
Modifier and Type | Method and Description |
---|---|
protected void |
JsonTaskQueryConverter.addVariable(JSONArray array,
TaskQueryVariableValue variable) |
protected List<String> |
JsonTaskQueryConverter.getList(JSONArray array) |
List<T> |
JsonArrayOfObjectsConverter.toObject(JSONArray jsonArray) |
abstract T |
JsonArrayConverter.toObject(JSONArray jsonArray) |
Modifier and Type | Method and Description |
---|---|
static List<Object> |
JsonUtil.jsonArrayAsList(JSONArray jsonArray)
|
static <T> List<T> |
JsonUtil.jsonArrayAsList(JSONArray jsonArray,
JsonObjectConverter<T> converter) |
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.
|
static JSONArray |
CDL.rowToJSONArray(JSONTokener x)
Produce a JSONArray of strings from a row of comma delimited values.
|
JSONArray |
JSONObject.toJSONArray(JSONArray names)
Produce a JSONArray containing the values of the members of this
JSONObject.
|
static JSONArray |
CDL.toJSONArray(JSONArray names,
JSONTokener x)
Produce a JSONArray of JSONObjects from a comma delimited text string
using a supplied JSONArray as the source of element names.
|
static JSONArray |
CDL.toJSONArray(JSONArray names,
String string)
Produce a JSONArray of JSONObjects from a comma delimited text string
using a supplied JSONArray as the source of element names.
|
static JSONArray |
CDL.toJSONArray(JSONTokener x)
Produce a JSONArray of JSONObjects from a comma delimited text string,
using the first row as a source of names.
|
static JSONArray |
CDL.toJSONArray(String string)
Produce a JSONArray of JSONObjects from a comma delimited text string,
using the first row as a source of names.
|
static JSONArray |
JSONML.toJSONArray(String string)
Convert a well-formed (but not necessarily valid) XML string into a
JSONArray using the JsonML transform.
|
static JSONArray |
JSONML.toJSONArray(XMLTokener x)
Convert a well-formed (but not necessarily valid) XML string into a
JSONArray using the JsonML transform.
|
Modifier and Type | Method and Description |
---|---|
static JSONObject |
CDL.rowToJSONObject(JSONArray names,
JSONTokener x)
Produce a JSONObject from a row of comma delimited text, using a
parallel JSONArray of strings to provides the names of the elements.
|
static String |
CDL.rowToString(JSONArray ja)
Produce a comma delimited text row from a JSONArray.
|
JSONArray |
JSONObject.toJSONArray(JSONArray names)
Produce a JSONArray containing the values of the members of this
JSONObject.
|
static JSONArray |
CDL.toJSONArray(JSONArray names,
JSONTokener x)
Produce a JSONArray of JSONObjects from a comma delimited text string
using a supplied JSONArray as the source of element names.
|
static JSONArray |
CDL.toJSONArray(JSONArray names,
String string)
Produce a JSONArray of JSONObjects from a comma delimited text string
using a supplied JSONArray as the source of element names.
|
JSONObject |
JSONArray.toJSONObject(JSONArray names)
Produce a JSONObject by combining a JSONArray of names with the values
of this JSONArray.
|
static String |
CDL.toString(JSONArray ja)
Produce a comma delimited text from a JSONArray of JSONObjects.
|
static String |
JSONML.toString(JSONArray ja)
Reverse the JSONML transformation, making an XML text from a JSONArray.
|
static String |
CDL.toString(JSONArray names,
JSONArray ja)
Produce a comma delimited text from a JSONArray of JSONObjects using
a provided list of names.
|
Copyright © 2019. All rights reserved.