Uses of Class
org.activiti.engine.impl.util.json.JSONException
Packages that use JSONException
-
Uses of JSONException in org.activiti.engine.impl.util.json
Methods in org.activiti.engine.impl.util.json that return JSONExceptionModifier and TypeMethodDescriptionJSONTokener.syntaxError(String message) Make a JSONException to signal a syntax error.Methods in org.activiti.engine.impl.util.json that throw JSONExceptionModifier and TypeMethodDescriptionJSONObject.accumulate(String key, Object value) Accumulate values under a key.Append values to the array under a key.JSONWriter.array()Begin appending a new array.voidJSONTokener.back()Back up one character.JSONWriter.endArray()End an array.JSONWriter.endObject()End an object.JSONArray.get(int index) Get the object value associated with an index.Get the value object associated with a key.booleanJSONArray.getBoolean(int index) Get the boolean value associated with an index.booleanJSONObject.getBoolean(String key) Get the boolean value associated with a key.doubleJSONArray.getDouble(int index) Get the double value associated with an index.doubleGet the double value associated with a key.intJSONArray.getInt(int index) Get the int value associated with an index.intGet the int value associated with a key.JSONArray.getJSONArray(int index) Get the JSONArray associated with an index.JSONObject.getJSONArray(String key) Get the JSONArray value associated with a key.JSONArray.getJSONObject(int index) Get the JSONObject associated with an index.JSONObject.getJSONObject(String key) Get the JSONObject value associated with a key.longJSONArray.getLong(int index) Get the long value associated with an index.longGet the long value associated with a key.JSONArray.getString(int index) Get the string associated with an index.Get the string associated with a key.Increment a property of a JSONObject.Make a string from the contents of this JSONArray.Append a key.booleanJSONTokener.more()Determine if the source string still contains characters that next() can consume.charJSONTokener.next()Get the next character in the source string.charJSONTokener.next(char c) Consume the next character, and check that it matches a specified character.JSONTokener.next(int n) Get the next n characters.XMLTokener.nextCDATA()Get the text in the CDATA block.charJSONTokener.nextClean()Get the next char in the string, skipping whitespace.XMLTokener.nextContent()Get the next XML outer token, trimming whitespace.XMLTokener.nextEntity(char a) Return the next entity.XMLTokener.nextMeta()Returns the next XML meta token.JSONTokener.nextString(char quote) Return the characters up to the next close quote character.JSONTokener.nextTo(char d) Get the text up but not including the specified character or the end of line, whichever comes first.Get the text up but not including one of the specified delimiter characters or the end of line, whichever comes first.HTTPTokener.nextToken()Get the next token or string.XMLTokener.nextToken()Get the next XML Token.JSONTokener.nextValue()Get the next value.static voidThrow an exception if the string contains whitespace.static StringJSONObject.numberToString(Number n) Produce a string from a Number.JSONWriter.object()Begin appending a new object.JSONArray.put(double value) Append a double value.JSONArray.put(int index, boolean value) Put or replace a boolean value in the JSONArray.JSONArray.put(int index, double value) Put or replace a double value.JSONArray.put(int index, int value) Put or replace an int value.JSONArray.put(int index, long value) Put or replace a long value.Put or replace an object value in the JSONArray.JSONArray.put(int index, Collection value) Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.Put a value in the JSONArray, where the value will be a JSONObject which is produced from a Map.Put a key/boolean pair in the JSONObject.Put a key/double pair in the JSONObject.Put a key/int pair in the JSONObject.Put a key/long pair in the JSONObject.Put a key/value pair in the JSONObject.JSONObject.put(String key, Collection value) Put a key/value pair in the JSONObject, where the value will be a JSONArray which is produced from a Collection.Put a key/value pair in the JSONObject, where the value will be a JSONObject which is produced from a Map.Put a key/value pair in the JSONObject, but only if the key and the value are both non-null, and only if there is not already a member with that name.Put a key/value pair in the JSONObject, but only if the key and the value are both non-null.static JSONArrayCDL.rowToJSONArray(JSONTokener x) Produce a JSONArray of strings from a row of comma delimited values.static JSONObjectCDL.rowToJSONObject(JSONArray names, JSONTokener x) Produce a JSONObject from a row of comma delimited text, using a parallel JSONArray of strings to provides the names of the elements.booleanSkip characters until past the requested string.charJSONTokener.skipTo(char to) Skip characters until the next character is the requested character.static JSONArrayCDL.toJSONArray(String string) Produce a JSONArray of JSONObjects from a comma delimited text string, using the first row as a source of names.static JSONArrayCDL.toJSONArray(JSONArray names, String string) Produce a JSONArray of JSONObjects from a comma delimited text string using a supplied JSONArray as the source of element names.static JSONArrayCDL.toJSONArray(JSONArray names, JSONTokener x) Produce a JSONArray of JSONObjects from a comma delimited text string using a supplied JSONArray as the source of element names.static JSONArrayCDL.toJSONArray(JSONTokener x) Produce a JSONArray of JSONObjects from a comma delimited text string, using the first row as a source of names.static JSONArrayJSONML.toJSONArray(String string) Convert a well-formed (but not necessarily valid) XML string into a JSONArray using the JsonML transform.static JSONArrayJSONML.toJSONArray(XMLTokener x) Convert a well-formed (but not necessarily valid) XML string into a JSONArray using the JsonML transform.JSONObject.toJSONArray(JSONArray names) Produce a JSONArray containing the values of the members of this JSONObject.static JSONObjectCookie.toJSONObject(String string) Convert a cookie specification string into a JSONObject.static JSONObjectCookieList.toJSONObject(String string) Convert a cookie list into a JSONObject.static JSONObjectHTTP.toJSONObject(String string) Convert an HTTP header string into a JSONObject.JSONArray.toJSONObject(JSONArray names) Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.static JSONObjectJSONML.toJSONObject(String string) Convert a well-formed (but not necessarily valid) XML string into a JSONObject using the JsonML transform.static JSONObjectJSONML.toJSONObject(XMLTokener x) Convert a well-formed (but not necessarily valid) XML string into a JSONObject using the JsonML transform.static JSONObjectXML.toJSONObject(String string) Convert a well-formed (but not necessarily valid) XML string into a JSONObject.static StringProduce a comma delimited text from a JSONArray of JSONObjects.static StringProduce a comma delimited text from a JSONArray of JSONObjects using a provided list of names.static StringCookie.toString(JSONObject o) Convert a JSONObject into a cookie specification string.static StringCookieList.toString(JSONObject o) Convert a JSONObject into a cookie list.static StringHTTP.toString(JSONObject o) Convert a JSONObject into an HTTP header.JSONArray.toString(int indentFactor) Make a prettyprinted JSON text of this JSONArray.static StringReverse the JSONML transformation, making an XML text from a JSONArray.static StringJSONML.toString(JSONObject jo) Reverse the JSONML transformation, making an XML text from a JSONObject.JSONObject.toString(int indentFactor) Make a prettyprinted JSON text of this JSONObject.static StringConvert a JSONObject into a well-formed, element-normal XML string.static StringConvert a JSONObject into a well-formed, element-normal XML string.JSONWriter.value(boolean b) Append either the valuetrueor the valuefalse.JSONWriter.value(double d) Append a double value.JSONWriter.value(long l) Append a long value.Append an object value.Write the contents of the JSONArray as JSON text to a writer.Write the contents of the JSONObject as JSON text to a writer.Constructors in org.activiti.engine.impl.util.json that throw JSONExceptionModifierConstructorDescriptionConstruct a JSONArray from an arrayConstruct a JSONArray from a source JSON text.Construct a JSONArray from a JSONTokener.JSONObject(String source) Construct a JSONObject from a source JSON text string.Construct a JSONObject from a JSONTokener.