Index
A
add(int, Object) -
Method in class com.ibm.json.java.JSONArray
add(Object) -
Method in class com.ibm.json.java.JSONArray
addAll(Collection) -
Method in class com.ibm.json.java.JSONArray
addAll(int, Collection) -
Method in class com.ibm.json.java.JSONArray
C
clear() -
Method in class com.ibm.json.java.OrderedJSONObject
(non-Javadoc)
clone() -
Method in class com.ibm.json.java.OrderedJSONObject
Returns a shallow copy of this HashMap instance: the keys and values themselves are not cloned.
com.ibm.json.java - package com.ibm.json.java
com.ibm.json.xml - package com.ibm.json.xml
G
getOrder() -
Method in class com.ibm.json.java.OrderedJSONObject
Method to obtain the order in which the items will be serialized.
I
isValidObject(Object) -
Static method in class com.ibm.json.java.JSONObject
Return whether the object is a valid value for a property.
isValidType(Class) -
Static method in class com.ibm.json.java.JSONObject
Return whether the class is a valid type of value for a property.
J
JSON - Class in com.ibm.json.java
Helper class that does generic parsing of a JSON stream and returns the appropriate
JSON structure (JSONArray or JSONObject).
JSONArray - Class in com.ibm.json.java
Extension of ArrayList that only allows values which are JSON-able.
JSONArray() -
Constructor for class com.ibm.json.java.JSONArray
Create a new instance of this class.
JSONArray(int) -
Constructor for class com.ibm.json.java.JSONArray
Create a new instance of this class with the specified initial capacity.
JSONArtifact - Interface in com.ibm.json.java
Interface class to define a set of generic apis both JSONObject and JSON array implement.
JSONObject - Class in com.ibm.json.java
Models a JSON Object.
JSONObject() -
Constructor for class com.ibm.json.java.JSONObject
Create a new instance of this class.
O
OrderedJSONObject - Class in com.ibm.json.java
Extension of the basic JSONObject.
OrderedJSONObject() -
Constructor for class com.ibm.json.java.OrderedJSONObject
Create a new instance of this class.
P
parse(Reader, boolean) -
Static method in class com.ibm.json.java.JSON
Parse a Reader of JSON text into a JSONArtifact.
parse(Reader) -
Static method in class com.ibm.json.java.JSON
Parse a Reader of JSON text into a JSONArtifact.
parse(InputStream, boolean) -
Static method in class com.ibm.json.java.JSON
Parse a InputStream of JSON text into a JSONArtifact.
parse(InputStream) -
Static method in class com.ibm.json.java.JSON
Parse an InputStream of JSON text into a JSONArtifact.
parse(String, boolean) -
Static method in class com.ibm.json.java.JSON
Parse a string of JSON text into a JSONArtifact.
parse(String) -
Static method in class com.ibm.json.java.JSON
Parse a string of JSON text into a JSONArtifact.
parse(InputStream) -
Static method in class com.ibm.json.java.JSONArray
Convert a stream of JSONArray text into JSONArray form.
parse(Reader) -
Static method in class com.ibm.json.java.JSONArray
Convert a stream (in reader form) of JSONArray text into object form.
parse(String) -
Static method in class com.ibm.json.java.JSONArray
Convert a String of JSONArray text into object form.
parse(Reader) -
Static method in class com.ibm.json.java.JSONObject
Convert a stream (in reader form) of JSON text into object form.
parse(String) -
Static method in class com.ibm.json.java.JSONObject
Convert a String of JSON text into object form.
parse(InputStream) -
Static method in class com.ibm.json.java.JSONObject
Convert a stream of JSON text into object form.
parse(Reader) -
Static method in class com.ibm.json.java.OrderedJSONObject
Convert a stream (in reader form) of JSON text into object form.
parse(String) -
Static method in class com.ibm.json.java.OrderedJSONObject
Convert a String of JSON text into object form.
parse(InputStream) -
Static method in class com.ibm.json.java.OrderedJSONObject
Convert a stream of JSON text into object form.
put(Object, Object) -
Method in class com.ibm.json.java.JSONObject
(non-Javadoc)
put(Object, Object) -
Method in class com.ibm.json.java.OrderedJSONObject
Method to put a JSON'able object into the instance.
R
remove(Object) -
Method in class com.ibm.json.java.OrderedJSONObject
Method to remove an entry from the OrderedJSONObject instance.
S
serialize(OutputStream) -
Method in class com.ibm.json.java.JSONArray
Convert this object into a stream of JSON text.
serialize(OutputStream, boolean) -
Method in class com.ibm.json.java.JSONArray
Convert this object into a stream of JSON text.
serialize(Writer) -
Method in class com.ibm.json.java.JSONArray
Convert this object into a stream of JSON text.
serialize(Writer, boolean) -
Method in class com.ibm.json.java.JSONArray
Convert this object into a stream of JSON text, specifying verbosity.
serialize(boolean) -
Method in class com.ibm.json.java.JSONArray
Convert this object into a String of JSON text, specifying verbosity.
serialize() -
Method in class com.ibm.json.java.JSONArray
Convert this object into a String of JSON text.
serialize(OutputStream) -
Method in interface com.ibm.json.java.JSONArtifact
Convert this object into a stream of JSON text.
serialize(OutputStream, boolean) -
Method in interface com.ibm.json.java.JSONArtifact
Convert this object into a stream of JSON text.
serialize(Writer) -
Method in interface com.ibm.json.java.JSONArtifact
Convert this object into a stream of JSON text.
serialize(Writer, boolean) -
Method in interface com.ibm.json.java.JSONArtifact
Convert this object into a stream of JSON text, specifying verbosity.
serialize(boolean) -
Method in interface com.ibm.json.java.JSONArtifact
Convert this object into a String of JSON text, specifying verbosity.
serialize() -
Method in interface com.ibm.json.java.JSONArtifact
Convert this object into a String of JSON text.
serialize(OutputStream) -
Method in class com.ibm.json.java.JSONObject
Convert this object into a stream of JSON text.
serialize(OutputStream, boolean) -
Method in class com.ibm.json.java.JSONObject
Convert this object into a stream of JSON text.
serialize(Writer) -
Method in class com.ibm.json.java.JSONObject
Convert this object into a stream of JSON text.
serialize(Writer, boolean) -
Method in class com.ibm.json.java.JSONObject
Convert this object into a stream of JSON text, specifying verbosity.
serialize(boolean) -
Method in class com.ibm.json.java.JSONObject
Convert this object into a String of JSON text, specifying verbosity.
serialize() -
Method in class com.ibm.json.java.JSONObject
Convert this object into a String of JSON text.
set(int, Object) -
Method in class com.ibm.json.java.JSONArray
T
toString() -
Method in class com.ibm.json.java.JSONObject
Over-ridden toString() method.
transform(InputStream, OutputStream) -
Static method in class com.ibm.json.xml.XMLToJSONTransformer
Method to do the transform from an XML input stream to a JSON stream.
transform(InputStream, OutputStream, boolean) -
Static method in class com.ibm.json.xml.XMLToJSONTransformer
Method to do the transform from an XML input stream to a JSON stream.
transform(InputStream) -
Static method in class com.ibm.json.xml.XMLToJSONTransformer
Method to take an input stream to an XML document and return a String of the JSON format.
transform(InputStream, boolean) -
Static method in class com.ibm.json.xml.XMLToJSONTransformer
Method to take an input stream to an XML document and return a String of the JSON format.
transform(File, boolean) -
Static method in class com.ibm.json.xml.XMLToJSONTransformer
Method to take an XML file and return a String of the JSON format.
transform(File) -
Static method in class com.ibm.json.xml.XMLToJSONTransformer
Method to take an XML file and return a String of the JSON format.
X
XMLToJSONTransformer - Class in com.ibm.json.xml
This class is a static helper for various ways of converting an XML document/InputStream into a JSON stream or String.
XMLToJSONTransformer() -
Constructor for class com.ibm.json.xml.XMLToJSONTransformer