Package org.json
The JavaScript Object Notation (JSON) package.
The syntactic work in $PTII/ptolemy/cg/lib
uses
JSON (JavaScript Object Notation) from http://www.json.org
.
The license of the JSON Java package in this directory may be found at
http://www.json.org/license.html
.
- Since:
- Ptolemy II 8.1
-
Interface Summary Interface Description JSONString TheJSONString
interface allows atoJSONString()
method so that a class can change the behavior ofJSONObject.toString()
,JSONArray.toString()
, andJSONWriter.value(
Object)
. -
Class Summary Class Description CDL This provides static methods to convert comma delimited text into a JSONArray, and to covert a JSONArray into comma delimited text.Cookie Convert a web browser cookie specification to a JSONObject and back.CookieList Convert a web browser cookie list string to a JSONObject and back.HTTP Convert an HTTP header to a JSONObject and back.HTTPTokener The HTTPTokener extends the JSONTokener to provide additional methods for the parsing of HTTP headers.JSONArray A JSONArray is an ordered sequence of values.JSONML This provides static methods to convert an XML text into a JSONArray or JSONObject, and to covert a JSONArray or JSONObject into an XML text using the JsonML transform.JSONObject A JSONObject is an unordered collection of name/value pairs.JSONStringer JSONStringer provides a quick and convenient way of producing JSON text.JSONTokener A JSONTokener takes a source string and extracts characters and tokens from it.JSONWriter JSONWriter provides a quick and convenient way of producing JSON text.Test Test class.XML This provides static methods to convert an XML text into a JSONObject, and to covert a JSONObject into an XML text.XMLTokener The XMLTokener extends the JSONTokener to provide additional methods for the parsing of XML texts. -
Exception Summary Exception Description JSONException The JSONException is thrown by the JSON.org classes when things are amiss.