Uses of Class
org.apache.wicket.ajax.json.JSONException

Packages that use JSONException
org.apache.wicket.ajax   
org.apache.wicket.ajax.json   
 

Uses of JSONException in org.apache.wicket.ajax
 

Methods in org.apache.wicket.ajax that throw JSONException
protected  void AbstractDefaultAjaxBehavior.postprocessConfiguration(JSONObject attributesJson, Component component)
          Gives a chance to modify the JSON attributesJson that is going to be used as attributes for the Ajax call.
 

Uses of JSONException in org.apache.wicket.ajax.json
 

Methods in org.apache.wicket.ajax.json that return JSONException
 JSONException JSONTokener.syntaxError(String message)
          Returns an exception containing the given message plus the current position and the entire input string.
 

Methods in org.apache.wicket.ajax.json that throw JSONException
 JSONObject JSONObject.accumulate(String name, Object value)
          Appends value to the array already mapped to name.
 JSONObject JSONObject.append(String name, Object value)
          Appends values to the array mapped to name.
 JSONWriter JSONWriter.array()
          Deprecated.  
 JSONStringer JSONStringer.array()
          Begins encoding a new array.
static JSONArray JsonUtils.asArray(Map<String,Object> map)
          Converts a Map to JSONArray suitable for jQuery#param().
 JSONWriter JSONWriter.endArray()
          Deprecated.  
 JSONStringer JSONStringer.endArray()
          Ends encoding the current array.
 JSONWriter JSONWriter.endObject()
          Deprecated.  
 JSONStringer JSONStringer.endObject()
          Ends encoding the current object.
 Object JSONArray.get(int index)
          Returns the value at index.
 Object JSONObject.get(String name)
          Returns the value mapped by name, or throws if no such mapping exists.
 boolean JSONArray.getBoolean(int index)
          Returns the value at index if it exists and is a boolean or can be coerced to a boolean.
 boolean JSONObject.getBoolean(String name)
          Returns the value mapped by name if it exists and is a boolean or can be coerced to a boolean, or throws otherwise.
 double JSONArray.getDouble(int index)
          Returns the value at index if it exists and is a double or can be coerced to a double.
 double JSONObject.getDouble(String name)
          Returns the value mapped by name if it exists and is a double or can be coerced to a double, or throws otherwise.
 int JSONArray.getInt(int index)
          Returns the value at index if it exists and is an int or can be coerced to an int.
 int JSONObject.getInt(String name)
          Returns the value mapped by name if it exists and is an int or can be coerced to an int, or throws otherwise.
 JSONArray JSONArray.getJSONArray(int index)
          Returns the value at index if it exists and is a JSONArray.
 JSONArray JSONObject.getJSONArray(String name)
          Returns the value mapped by name if it exists and is a JSONArray, or throws otherwise.
 JSONObject JSONArray.getJSONObject(int index)
          Returns the value at index if it exists and is a JSONObject.
 JSONObject JSONObject.getJSONObject(String name)
          Returns the value mapped by name if it exists and is a JSONObject, or throws otherwise.
 long JSONArray.getLong(int index)
          Returns the value at index if it exists and is a long or can be coerced to a long.
 long JSONObject.getLong(String name)
          Returns the value mapped by name if it exists and is a long or can be coerced to a long, or throws otherwise.
 String JSONArray.getString(int index)
          Returns the value at index if it exists, coercing it if necessary.
 String JSONObject.getString(String name)
          Returns the value mapped by name if it exists, coercing it if necessary, or throws if no such mapping exists.
 String JSONArray.join(String separator)
          Returns a new string by alternating this array's values with separator.
 JSONWriter JSONWriter.key(String string)
          Deprecated.  
 JSONStringer JSONStringer.key(String name)
          Encodes the key (property name) to this stringer.
 char JSONTokener.next(char c)
          Returns the next available character if it equals c.
 String JSONTokener.next(int length)
          Returns the next length characters of the input.
 String XMLTokener.nextCDATA()
          Deprecated.  
 char JSONTokener.nextClean()
          Returns the next character that is not whitespace and does not belong to a comment.
 Object XMLTokener.nextContent()
          Deprecated.  
 Object XMLTokener.nextEntity(char ampersand)
          Deprecated.  
 Object XMLTokener.nextMeta()
          Deprecated.  
 String JSONTokener.nextString(char quote)
          Returns the string up to but not including quote, unescaping any character escape sequences encountered along the way.
 String HTTPTokener.nextToken()
          Deprecated.  
 Object XMLTokener.nextToken()
          Deprecated.  
 Object JSONTokener.nextValue()
          Returns the next value from the input.
static void XML.noSpace(String string)
          Deprecated.  
static String JSONObject.numberToString(Number number)
          Encodes the number as a JSON string.
 JSONWriter JSONWriter.object()
          Deprecated.  
 JSONStringer JSONStringer.object()
          Begins encoding a new object.
 JSONArray JSONArray.put(double value)
          Appends value to the end of this array.
 JSONArray JSONArray.put(int index, boolean value)
          Sets the value at index to value, null padding this array to the required length if necessary.
 JSONArray JSONArray.put(int index, Collection<?> value)
          Sets the value at index to value wrapped into JSONArray, null padding this array to the required length if necessary.
 JSONArray JSONArray.put(int index, double value)
          Sets the value at index to value, null padding this array to the required length if necessary.
 JSONArray JSONArray.put(int index, int value)
          Sets the value at index to value, null padding this array to the required length if necessary.
 JSONArray JSONArray.put(int index, long value)
          Sets the value at index to value, null padding this array to the required length if necessary.
 JSONArray JSONArray.put(int index, Object value)
          Sets the value at index to value, null padding this array to the required length if necessary.
 JSONObject JSONObject.put(String name, boolean value)
          Maps name to value, clobbering any existing name/value mapping with the same name.
 JSONObject JSONObject.put(String name, double value)
          Maps name to value, clobbering any existing name/value mapping with the same name.
 JSONObject JSONObject.put(String name, int value)
          Maps name to value, clobbering any existing name/value mapping with the same name.
 JSONObject JSONObject.put(String name, long value)
          Maps name to value, clobbering any existing name/value mapping with the same name.
 JSONObject JSONObject.put(String name, Object value)
          Maps name to value, clobbering any existing name/value mapping with the same name.
 JSONObject JSONObject.putOpt(String name, Object value)
          Equivalent to put(name, value) when both parameters are non-null; does nothing otherwise.
static JSONArray CDL.rowToJSONArray(JSONTokener x)
          Deprecated.  
static JSONObject CDL.rowToJSONObject(JSONArray names, JSONTokener x)
          Deprecated.  
 boolean XMLTokener.skipPast(String to)
          Deprecated.  
 JSONArray JSONObject.toJSONArray(JSONArray names)
          Returns an array with the values corresponding to names.
static JSONArray CDL.toJSONArray(JSONArray names, JSONTokener x)
          Deprecated.  
static JSONArray CDL.toJSONArray(JSONArray names, String string)
          Deprecated.  
static JSONArray CDL.toJSONArray(JSONTokener x)
          Deprecated.  
static JSONArray JSONML.toJSONArray(String string)
          Deprecated.  
static JSONArray CDL.toJSONArray(String string)
          Deprecated.  
static JSONArray JSONML.toJSONArray(XMLTokener x)
          Deprecated.  
 JSONObject JSONArray.toJSONObject(JSONArray names)
          Returns a new object whose values are the values in this array, and whose names are the values in names.
static JSONObject Cookie.toJSONObject(String string)
          Deprecated.  
static JSONObject JSONML.toJSONObject(String string)
          Deprecated.  
static JSONObject XML.toJSONObject(String string)
          Deprecated.  
static JSONObject CookieList.toJSONObject(String string)
          Deprecated.  
static JSONObject HTTP.toJSONObject(String string)
          Deprecated.  
static JSONObject JSONML.toJSONObject(XMLTokener x)
          Deprecated.  
 String JSONArray.toString(int indentSpaces)
          Encodes this array as a human readable JSON string for debugging, such as:
 String JSONObject.toString(int indentSpaces)
          Encodes this object as a human readable JSON string for debugging, such as:
static String JSONML.toString(JSONArray ja)
          Deprecated.  
static String CDL.toString(JSONArray ja)
          Deprecated.  
static String CDL.toString(JSONArray names, JSONArray ja)
          Deprecated.  
static String Cookie.toString(JSONObject jo)
          Deprecated.  
static String JSONML.toString(JSONObject jo)
          Deprecated.  
static String CookieList.toString(JSONObject jo)
          Deprecated.  
static String HTTP.toString(JSONObject jo)
          Deprecated.  
 String JSONArray.toString(JSONStringer stringer)
          Encodes this array using JSONStringer provided
 String JSONObject.toString(JSONStringer stringer)
          Encodes this object using JSONStringer provided
static String XML.toString(Object object)
          Deprecated.  
static String XML.toString(Object object, String tagName)
          Deprecated.  
 JSONWriter JSONWriter.value(boolean b)
          Deprecated.  
 JSONStringer JSONStringer.value(boolean value)
          Encodes value to this stringer.
 JSONWriter JSONWriter.value(double d)
          Deprecated.  
 JSONStringer JSONStringer.value(double value)
          Encodes value to this stringer.
 JSONWriter JSONWriter.value(long l)
          Deprecated.  
 JSONStringer JSONStringer.value(long value)
          Encodes value to this stringer.
 JSONWriter JSONWriter.value(Object object)
          Deprecated.  
 JSONStringer JSONStringer.value(Object value)
          Encodes value.
 

Constructors in org.apache.wicket.ajax.json that throw JSONException
JSONArray(JSONTokener readFrom)
          Creates a new JSONArray with values from the next array in the tokener.
JSONArray(Object array)
          Creates a new JSONArray with values from the given primitive array.
JSONArray(String json)
          Creates a new JSONArray with values from the JSON string.
JSONObject(JSONObject copyFrom, String[] names)
          Creates a new JSONObject by copying mappings for the listed names from the given object.
JSONObject(JSONTokener readFrom)
          Creates a new JSONObject with name/value mappings from the next object in the tokener.
JSONObject(Object bean)
          Creates a json object from a bean
JSONObject(String json)
          Creates a new JSONObject with name/value mappings from the JSON string.
 



Copyright © 2006–2019 Apache Software Foundation. All rights reserved.