Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.codehaus.groovy.grails.web.json.JSONException

Packages that use JSONException
grails.converters |
org.codehaus.groovy.grails.web.json |

Uses of JSONException in grails.converters

Methods in grails.converters that throw JSONException
`void` | `JSON.property(String key, Object value)`
`String` | `JSON.toString(boolean prettyPrint)` Performs the conversion and returns the resulting JSON as String

Uses of JSONException in org.codehaus.groovy.grails.web.json

Methods in org.codehaus.groovy.grails.web.json that return JSONException
`JSONException` | `JSONTokener.syntaxError(String message)` Make a JSONException to signal a syntax error.

Methods in org.codehaus.groovy.grails.web.json that throw JSONException
`JSONObject` | `JSONObject.accumulate(String key, Object value)` Accumulate values under a key.
`static String` | `JSONObject.dateToString(Date d)`
`Object` | `JSONObject.get(String key)` Get the value object associated with a key.
`boolean` | `JSONArray.getBoolean(int index)` Get the boolean value associated with an index.
`boolean` | `JSONObject.getBoolean(String key)` Get the boolean value associated with a key.
`double` | `JSONArray.getDouble(int index)` Get the double value associated with an index.
`double` | `JSONObject.getDouble(String key)` Get the double value associated with a key.
`int` | `JSONArray.getInt(int index)` Get the int value associated with an index.
`int` | `JSONObject.getInt(String key)` Get the int value associated with a key.
`JSONArray` | `JSONArray.getJSONArray(int index)` Get the JSONArray associated with an index.
`JSONArray` | `JSONObject.getJSONArray(String key)` Get the JSONArray value associated with a key.
`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.
`long` | `JSONArray.getLong(int index)` Get the long value associated with an index.
`long` | `JSONObject.getLong(String key)` Get the long value associated with a key.
`String` | `JSONArray.getString(int index)` Get the string associated with an index.
`String` | `JSONObject.getString(String key)` Get the string associated with a key.
`String` | `JSONArray.join(String separator)` Make a string from the contents of this JSONArray.
`char` | `JSONTokener.next(char c)` Consume the next character, and check that it matches a specified character.
`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).
`String` | `JSONTokener.nextString(char quote)` Return the characters up to the next close quote character.
`Object` | `JSONTokener.nextValue()` Get the next value.
`static String` | `JSONObject.numberToString(Number n)` Produce a string from a number.
`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, 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, Object value)` Put or replace an object value in the JSONArray.
`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.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.
`(package private) static void` | `JSONObject.testValidity(Object o)` Throw an exception if the object is an NaN or infinite number.
`JSONArray` | `JSONObject.toJSONArray(JSONArray names)` Produce a JSONArray containing the values of the members of this JSONObject.
`JSONObject` | `JSONArray.toJSONObject(JSONArray names)` Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
`String` | `JSONObject.toString(int indentFactor)` Make a prettyprinted JSON text of this JSONObject.
`String` | `JSONArray.toString(int indentFactor)` Make a prettyprinted JSON text of this JSONArray.
`(package private) String` | `JSONObject.toString(int indentFactor, int indent)` Make a prettyprinted JSON text of this JSONObject.
`(package private) String` | `JSONArray.toString(int indentFactor, int indent)` Make a prettyprinted JSON text of this JSONArray.
`(package private) static String` | `JSONObject.valueToString(Object value)` Make a JSON text of an object value.
`(package private) static String` | `JSONObject.valueToString(Object value, int indentFactor, int indent)` Make a prettyprinted JSON text of an object value.
`Writer` | `JSONObject.write(Writer writer)` Write the contents of the JSONObject as JSON text to a writer.
`Writer` | `JSONArray.write(Writer writer)` Write the contents of the JSONArray as JSON text to a writer.

Constructors in org.codehaus.groovy.grails.web.json that throw JSONException
`JSONArray(JSONTokener x)` Construct a JSONArray from a JSONTokener.
`JSONArray(String string)` Construct a JSONArray from a source sJSON text.
`JSONObject(JSONObject jo, String[] sa)` Construct a JSONObject from a subset of another JSONObject.
`JSONObject(JSONTokener x)` Construct a JSONObject from a JSONTokener.
`JSONObject(String string)` Construct a JSONObject from a string.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright (c) 2005-2009 The Grails project