| Package | Description |
|---|---|
| org.neo4j.ogm.json |
| Modifier and Type | Method and Description |
|---|---|
JSONObject |
JSONObject.accumulate(String key,
Object value)
Accumulate values under a key.
|
JSONObject |
JSONObject.append(String key,
Object value)
Append values to the array under a key.
|
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.
|
JSONObject |
JSONArray.getJSONObject(int index)
Get the JSONObject associated with an index.
|
JSONObject |
JSONObject.getJSONObject(String key)
Get the JSONObject value associated with a key.
|
String |
JSONArray.getString(int index)
Get the string associated with an index.
|
String |
JSONObject.getString(String key)
Get the string associated with a key.
|
JSONArray |
JSONArray.put(double value)
Append a double 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.
|
JSONObject |
JSONObject.put(String key,
boolean value)
Put a key/boolean pair in the JSONObject.
|
JSONObject |
JSONObject.put(String key,
Collection value)
Put a key/value pair in the JSONObject, where the value will be a
JSONArray which is produced from a Collection.
|
JSONObject |
JSONObject.put(String key,
double value)
Put a key/double pair in the JSONObject.
|
JSONObject |
JSONObject.put(String key,
int value)
Put a key/int pair in the JSONObject.
|
JSONObject |
JSONObject.put(String key,
long value)
Put a key/long pair in the JSONObject.
|
JSONObject |
JSONObject.put(String key,
Map value)
Put a key/value pair in the JSONObject, where the value will be a
JSONObject which is produced from a Map.
|
JSONObject |
JSONObject.put(String key,
Object value)
Put a key/value pair in the JSONObject.
|
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.
|
String |
JSONArray.toString(int indentFactor)
Make a prettyprinted JSON text of this JSONArray.
|
String |
JSONObject.toString(int indentFactor)
Make a prettyprinted JSON text of this JSONObject.
|
static String |
JSONObject.valueToString(Object value)
Make a JSON text of an Object value.
|
Writer |
JSONArray.write(Writer writer)
Write the contents of the JSONArray as JSON text to a writer.
|
Writer |
JSONObject.write(Writer writer)
Write the contents of the JSONObject as JSON text to a writer.
|
| Constructor and Description |
|---|
JSONArray(org.neo4j.ogm.json.JSONTokener x)
Construct a JSONArray from a JSONTokener.
|
JSONArray(Object array)
Construct a JSONArray from an array
|
JSONArray(Object array,
boolean includeSuperClass)
Construct a JSONArray from an array with a bean.
|
JSONArray(String source)
Construct a JSONArray from a source JSON text.
|
JSONObject(JSONObject jo,
String[] names)
Construct a JSONObject from a subset of another JSONObject.
|
JSONObject(org.neo4j.ogm.json.JSONTokener x)
Construct a JSONObject from a JSONTokener.
|
JSONObject(String source)
Construct a JSONObject from a source JSON text string.
|
Copyright © 2017 Neo Technology, Inc.. All rights reserved.