Uses of Class
com.amx.duet.tools.json.JSONException

Packages that use JSONException
com.amx.duet.tools.json JSON (JavaScript Object Notation) is a lightweight data-interchange format. 
 

Uses of JSONException in com.amx.duet.tools.json
 

Methods in com.amx.duet.tools.json that return JSONException
 JSONException JSONTokener.syntaxError(java.lang.String message)
          Make a JSONException to signal a syntax error.
 

Methods in com.amx.duet.tools.json that throw JSONException
 char JSONTokener.next(char c)
          Consume the next character, and check that it matches a specified character.
 java.lang.String JSONTokener.next(int n)
          Get the next n characters.
 char JSONTokener.nextClean()
          Get the next char in the string, skipping whitespace and comments (slashslash, slashstar, and hash).
 java.lang.String JSONTokener.nextString(char quote)
          Return the characters up to the next close quote character.
 java.lang.Object JSONTokener.nextValue()
          Get the next value.
 JSONObject JSONObject.accumulate(java.lang.String key, java.lang.Object value)
          Accumulate values under a key.
 JSONObject JSONObject.append(java.lang.String key, java.lang.Object value)
          Append values to the array under a key.
 java.lang.Object JSONObject.get(java.lang.String key)
          Get the value object associated with a key.
 boolean JSONObject.getBoolean(java.lang.String key)
          Get the boolean value associated with a key.
 double JSONObject.getDouble(java.lang.String key)
          Get the double value associated with a key.
 int JSONObject.getInt(java.lang.String key)
          Get the int value associated with a key.
 JSONArray JSONObject.getJSONArray(java.lang.String key)
          Get the JSONArray value associated with a key.
 JSONObject JSONObject.getJSONObject(java.lang.String key)
          Get the JSONObject value associated with a key.
 long JSONObject.getLong(java.lang.String key)
          Get the long value associated with a key.
 java.lang.String JSONObject.getString(java.lang.String key)
          Get the string associated with a key.
static java.lang.String JSONObject.numberToString(java.lang.Number n)
          Produce a string from a Number.
 JSONObject JSONObject.put(java.lang.String key, java.util.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(java.lang.String key, boolean value)
          Put a key/boolean pair in the JSONObject.
 JSONObject JSONObject.put(java.lang.String key, double value)
          Put a key/double pair in the JSONObject.
 JSONObject JSONObject.put(java.lang.String key, int value)
          Put a key/int pair in the JSONObject.
 JSONObject JSONObject.put(java.lang.String key, long value)
          Put a key/long pair in the JSONObject.
 JSONObject JSONObject.put(java.lang.String key, java.util.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(java.lang.String key, java.lang.Object value)
          Put a key/value pair in the JSONObject.
 JSONObject JSONObject.putOpt(java.lang.String key, java.lang.Object value)
          Put a key/value pair in the JSONObject, but only if the key and the value are both non-null.
 JSONArray JSONObject.toJSONArray(JSONArray names)
          Produce a JSONArray containing the values of the members of this JSONObject.
 java.lang.String JSONObject.toString(int indentFactor)
          Make a prettyprinted JSON text of this JSONObject.
 java.io.Writer JSONObject.write(java.io.Writer writer)
          Write the contents of the JSONObject as JSON text to a writer.
 java.lang.Object JSONArray.get(int index)
          Get the object value associated with an index.
 boolean JSONArray.getBoolean(int index)
          Get the boolean value associated with an index.
 double JSONArray.getDouble(int index)
          Get the double value associated with an index.
 int JSONArray.getInt(int index)
          Get the int value associated with an index.
 JSONArray JSONArray.getJSONArray(int index)
          Get the JSONArray associated with an index.
 JSONObject JSONArray.getJSONObject(int index)
          Get the JSONObject associated with an index.
 long JSONArray.getLong(int index)
          Get the long value associated with an index.
 java.lang.String JSONArray.getString(int index)
          Get the string associated with an index.
 java.lang.String JSONArray.join(java.lang.String separator)
          Make a string from the contents of this JSONArray.
 JSONArray JSONArray.put(double value)
          Append a double value.
 JSONArray JSONArray.put(int index, boolean value)
          Put or replace a boolean value in the JSONArray.
 JSONArray JSONArray.put(int index, java.util.Collection value)
          Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
 JSONArray JSONArray.put(int index, double value)
          Put or replace a double value.
 JSONArray JSONArray.put(int index, int value)
          Put or replace an int value.
 JSONArray JSONArray.put(int index, long value)
          Put or replace a long value.
 JSONArray JSONArray.put(int index, java.util.Map value)
          Put a value in the JSONArray, where the value will be a JSONObject which is produced from a Map.
 JSONArray JSONArray.put(int index, java.lang.Object value)
          Put or replace an object value in the JSONArray.
 JSONObject JSONArray.toJSONObject(JSONArray names)
          Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
 java.lang.String JSONArray.toString(int indentFactor)
          Make a prettyprinted JSON text of this JSONArray.
 java.io.Writer JSONArray.write(java.io.Writer writer)
          Write the contents of the JSONArray as JSON text to a writer.
 

Constructors in com.amx.duet.tools.json that throw JSONException
JSONObject(JSONObject jo, java.lang.String[] sa)
          Construct a JSONObject from a subset of another JSONObject.
JSONObject(JSONTokener x)
          Construct a JSONObject from a JSONTokener.
JSONObject(java.lang.String string)
          Construct a JSONObject from a string.
JSONArray(JSONTokener x)
          Construct a JSONArray from a JSONTokener.
JSONArray(java.lang.String string)
          Construct a JSONArray from a source sJSON text.
 



Copyright © 2008 AMX LLC. All Rights Reserved.