Package | Description |
---|---|
org.codehaus.jettison | |
org.codehaus.jettison.badgerfish | |
org.codehaus.jettison.json | |
org.codehaus.jettison.mapped |
Modifier and Type | Method | Description |
---|---|---|
JSONObject |
Node.getObject() |
Modifier and Type | Method | Description |
---|---|---|
void |
Convention.processAttributesAndNamespaces(Node n,
JSONObject object) |
|
void |
Node.setObject(JSONObject object) |
Constructor | Description |
---|---|
Node(JSONObject object) |
|
Node(Node parent,
String name,
JSONObject object,
Convention con) |
Modifier and Type | Method | Description |
---|---|---|
protected JSONObject |
BadgerFishXMLStreamWriter.getCurrentNode() |
Modifier and Type | Method | Description |
---|---|---|
void |
BadgerFishConvention.processAttributesAndNamespaces(Node n,
JSONObject object) |
Constructor | Description |
---|---|
BadgerFishXMLStreamReader(JSONObject obj) |
|
BadgerFishXMLStreamWriter(Writer writer,
JSONObject currentNode) |
|
BadgerFishXMLStreamWriter(Writer writer,
JSONObject currentNode,
FastStack nodes) |
Modifier and Type | Method | 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.
|
protected JSONObject |
JSONObject.doPut(String key,
Object value,
int threshold,
boolean checkExistingValue) |
|
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.
|
protected JSONObject |
JSONTokener.newJSONObject() |
|
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,
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,
Object value) |
Put a key/value 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,
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.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.
|
Constructor | Description |
---|---|
JSONObject(JSONObject jo,
String[] sa) |
Construct a JSONObject from a subset of another JSONObject.
|
Modifier and Type | Method | Description |
---|---|---|
protected JSONObject |
MappedXMLInputFactory.createJSONObject(JSONTokener tokener) |
Modifier and Type | Method | Description |
---|---|---|
void |
MappedNamespaceConvention.processAttributesAndNamespaces(Node n,
JSONObject object) |
|
protected void |
MappedXMLStreamWriter.writeJSONObject(JSONObject root) |
For clients who want to modify the output object before writing to override.
|
Constructor | Description |
---|---|
MappedXMLStreamReader(JSONObject obj) |
|
MappedXMLStreamReader(JSONObject obj,
MappedNamespaceConvention con) |
Copyright © 2019. All rights reserved.