Package | Description |
---|---|
org.datanucleus.store.json |
Package providing support for JSON stores in DataNucleus.
|
org.datanucleus.store.json.fieldmanager | |
org.datanucleus.store.json.orgjson |
Repackaging of "org.json" and was subject to the following license.
|
Modifier and Type | Method and Description |
---|---|
protected JSONObject |
JsonPersistenceHandler.read(String method,
String requestUri,
URLConnection conn,
Map headers) |
Modifier and Type | Field and Description |
---|---|
protected JSONObject |
FetchFieldManager.jsonobj |
protected JSONObject |
StoreFieldManager.jsonobj |
Modifier and Type | Method and Description |
---|---|
protected Object |
FetchFieldManager.getComGoogleAppengineApiDatastoreKeyFromJSON(JSONObject jsonobj,
Class cls,
org.datanucleus.ClassLoaderResolver clr)
Convenience method to create an AppEngine Key from a JSON object.
|
protected Object |
FetchFieldManager.getComGoogleAppengineApiUsersUserFromJSON(JSONObject jsonobj,
Class cls,
org.datanucleus.ClassLoaderResolver clr)
Convenience method to create an AppEngine User from a JSON object.
|
Constructor and Description |
---|
FetchEmbeddedFieldManager(org.datanucleus.ExecutionContext ec,
org.datanucleus.metadata.AbstractClassMetaData cmd,
JSONObject jsonobj,
List<org.datanucleus.metadata.AbstractMemberMetaData> mmds,
org.datanucleus.store.schema.table.Table table) |
FetchEmbeddedFieldManager(org.datanucleus.state.ObjectProvider op,
JSONObject jsonobj,
List<org.datanucleus.metadata.AbstractMemberMetaData> mmds,
org.datanucleus.store.schema.table.Table table) |
FetchFieldManager(org.datanucleus.ExecutionContext ec,
org.datanucleus.metadata.AbstractClassMetaData cmd,
JSONObject jsonobj,
org.datanucleus.store.schema.table.Table table) |
FetchFieldManager(org.datanucleus.state.ObjectProvider op,
JSONObject jsonobj,
org.datanucleus.store.schema.table.Table table) |
StoreEmbeddedFieldManager(org.datanucleus.ExecutionContext ec,
org.datanucleus.metadata.AbstractClassMetaData cmd,
JSONObject jsonobj,
boolean insert,
List<org.datanucleus.metadata.AbstractMemberMetaData> mmds,
org.datanucleus.store.schema.table.Table table) |
StoreEmbeddedFieldManager(org.datanucleus.state.ObjectProvider op,
JSONObject jsonobj,
boolean insert,
List<org.datanucleus.metadata.AbstractMemberMetaData> mmds,
org.datanucleus.store.schema.table.Table table) |
StoreFieldManager(org.datanucleus.ExecutionContext ec,
org.datanucleus.metadata.AbstractClassMetaData cmd,
JSONObject jsonobj,
boolean insert,
org.datanucleus.store.schema.table.Table table) |
StoreFieldManager(org.datanucleus.state.ObjectProvider op,
JSONObject jsonobj,
boolean insert,
org.datanucleus.store.schema.table.Table table) |
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.
|
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.
|
JSONObject |
JSONArray.optJSONObject(int index)
Get the optional JSONObject associated with an index.
|
JSONObject |
JSONObject.optJSONObject(String key)
Get an optional JSONObject associated with a key.
|
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.
|
JSONObject |
JSONObject.putOpt(String key,
Object value)
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null.
|
JSONObject |
JSONArray.toJSONObject(JSONArray names)
Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
|
Modifier and Type | Method and Description |
---|---|
static String[] |
JSONObject.getNames(JSONObject jo)
Get an array of field names from a JSONObject.
|
Constructor and Description |
---|
JSONObject(JSONObject jo,
String[] names)
Construct a JSONObject from a subset of another JSONObject.
|
Copyright © 2020. All rights reserved.