- testValidity(Object) - Static method in class org.json.JSONObject
-
Throw an exception if the object is a NaN or infinite number.
- toJSONArray(String) - Static method in class org.json.CDL
-
Produce a JSONArray of JSONObjects from a comma delimited text string,
using the first row as a source of names.
- toJSONArray(JSONTokener) - Static method in class org.json.CDL
-
Produce a JSONArray of JSONObjects from a comma delimited text string,
using the first row as a source of names.
- toJSONArray(JSONArray, String) - Static method in class org.json.CDL
-
Produce a JSONArray of JSONObjects from a comma delimited text string
using a supplied JSONArray as the source of element names.
- toJSONArray(JSONArray, JSONTokener) - Static method in class org.json.CDL
-
Produce a JSONArray of JSONObjects from a comma delimited text string
using a supplied JSONArray as the source of element names.
- toJSONArray(String) - Static method in class org.json.JSONML
-
Convert a well-formed (but not necessarily valid) XML string into a
JSONArray using the JsonML transform.
- toJSONArray(String, boolean) - Static method in class org.json.JSONML
-
Convert a well-formed (but not necessarily valid) XML string into a
JSONArray using the JsonML transform.
- toJSONArray(XMLTokener, boolean) - Static method in class org.json.JSONML
-
Convert a well-formed (but not necessarily valid) XML string into a
JSONArray using the JsonML transform.
- toJSONArray(XMLTokener) - Static method in class org.json.JSONML
-
Convert a well-formed (but not necessarily valid) XML string into a
JSONArray using the JsonML transform.
- toJSONArray(JSONArray) - Method in class org.json.JSONObject
-
Produce a JSONArray containing the values of the members of this
JSONObject.
- toJSONObject(String) - Static method in class org.json.Cookie
-
Convert a cookie specification string into a JSONObject.
- toJSONObject(String) - Static method in class org.json.CookieList
-
Convert a cookie list into a JSONObject.
- toJSONObject(String) - Static method in class org.json.HTTP
-
Convert an HTTP header string into a JSONObject.
- toJSONObject(JSONArray) - Method in class org.json.JSONArray
-
Produce a JSONObject by combining a JSONArray of names with the values of
this JSONArray.
- toJSONObject(String) - Static method in class org.json.JSONML
-
Convert a well-formed (but not necessarily valid) XML string into a
JSONObject using the JsonML transform.
- toJSONObject(String, boolean) - Static method in class org.json.JSONML
-
Convert a well-formed (but not necessarily valid) XML string into a
JSONObject using the JsonML transform.
- toJSONObject(XMLTokener) - Static method in class org.json.JSONML
-
Convert a well-formed (but not necessarily valid) XML string into a
JSONObject using the JsonML transform.
- toJSONObject(XMLTokener, boolean) - Static method in class org.json.JSONML
-
Convert a well-formed (but not necessarily valid) XML string into a
JSONObject using the JsonML transform.
- toJSONObject(Properties) - Static method in class org.json.Property
-
Converts a property file object into a JSONObject.
- toJSONObject(String) - Static method in class org.json.XML
-
Convert a well-formed (but not necessarily valid) XML string into a
JSONObject.
- toJSONObject(String, boolean) - Static method in class org.json.XML
-
Convert a well-formed (but not necessarily valid) XML string into a
JSONObject.
- toJSONPointer(Iterable<? extends StructureIdentifier>) - Static method in class org.json.util.JSONPointerUtils
-
- toJSONString() - Method in interface org.json.JSONString
-
The toJSONString
method allows a class to produce its own JSON
serialization.
- toList() - Method in class org.json.JSONArray
-
Returns a java.util.List containing all of the elements in this array.
- toMap() - Method in class org.json.JSONObject
-
Returns a java.util.Map containing all of the entries in this object.
- toProperties(JSONObject) - Static method in class org.json.Property
-
Converts the JSONObject into a property file object.
- toString(JSONArray) - Static method in class org.json.CDL
-
Produce a comma delimited text from a JSONArray of JSONObjects.
- toString(JSONArray, JSONArray) - Static method in class org.json.CDL
-
Produce a comma delimited text from a JSONArray of JSONObjects using
a provided list of names.
- toString(JSONObject) - Static method in class org.json.Cookie
-
Convert a JSONObject into a cookie specification string.
- toString(JSONObject) - Static method in class org.json.CookieList
-
Convert a JSONObject into a cookie list.
- toString(JSONObject) - Static method in class org.json.HTTP
-
Convert a JSONObject into an HTTP header.
- toString() - Method in class org.json.JSONArray
-
Make a JSON text of this JSONArray.
- toString(int) - Method in class org.json.JSONArray
-
Make a prettyprinted JSON text of this JSONArray.
- toString(JSONArray) - Static method in class org.json.JSONML
-
Reverse the JSONML transformation, making an XML text from a JSONArray.
- toString(JSONObject) - Static method in class org.json.JSONML
-
Reverse the JSONML transformation, making an XML text from a JSONObject.
- toString() - Method in class org.json.JSONObject
-
Make a JSON text of this JSONObject.
- toString(int) - Method in class org.json.JSONObject
-
Make a prettyprinted JSON text of this JSONObject.
- toString() - Method in class org.json.JSONPointer
-
Returns a string representing the JSONPointer path value using string
representation
- toString() - Method in class org.json.JSONStringer
-
Return the JSON text.
- toString() - Method in class org.json.JSONTokener
-
Make a printable string of this Scanner.
- toString() - Method in class org.json.ParsePosition
-
Returns a string representation of the parse position.
- toString() - Method in class org.json.Scanner
-
Make a printable string of this Scanner.
- toString() - Method in class org.json.stream.BuilderLimits
-
- toString() - Method in class org.json.stream.JSONLexer
-
Make a printable string of this JSONLexer
.
- toString() - Method in class org.json.stream.JSONLimitStreamReader
-
Returns a string representation of the stream reader, including its
current position in the source stream.
- toString() - Method in class org.json.stream.JSONStreamReader
-
Returns a string representation of the stream reader, including its
current position in the source stream.
- toString() - Method in class org.json.util.ALStack
-
Returns a string representing all the elements on the stack.
- toString(Object) - Static method in class org.json.XML
-
Convert a JSONObject into a well-formed, element-normal XML string.
- toString(Object, String) - Static method in class org.json.XML
-
Convert a JSONObject into a well-formed, element-normal XML string.
- toURIFragment() - Method in class org.json.JSONPointer
-
Returns a string representing the JSONPointer path value using URI
fragment identifier representation