Uses of Class
com.atlassian.jira.functest.framework.util.json.TestJSONException
Packages that use TestJSONException
-
Uses of TestJSONException in com.atlassian.jira.functest.framework.util.json
Methods in com.atlassian.jira.functest.framework.util.json that throw TestJSONExceptionModifier and TypeMethodDescriptionTestJSONObject.accumulate
(String key, Object value) Accumulate values under a key.Append values to the array under a key.TestJSONArray.get
(int index) Get the object value associated with an index.Get the value object associated with a key.boolean
TestJSONArray.getBoolean
(int index) Get the boolean value associated with an index.boolean
TestJSONObject.getBoolean
(String key) Get the boolean value associated with a key.double
TestJSONArray.getDouble
(int index) Get the double value associated with an index.double
Get the double value associated with a key.int
TestJSONArray.getInt
(int index) Get the int value associated with an index.int
Get the int value associated with a key.TestJSONArray.getJSONArray
(int index) Get the JSONArray associated with an index.TestJSONObject.getJSONArray
(String key) Get the JSONArray value associated with a key.TestJSONArray.getJSONObject
(int index) Get the JSONObject associated with an index.TestJSONObject.getJSONObject
(String key) Get the JSONObject value associated with a key.long
TestJSONArray.getLong
(int index) Get the long value associated with an index.long
Get the long value associated with a key.TestJSONArray.getString
(int index) Get the string associated with an index.Get the string associated with a key.Make a string from the contents of this JSONArray.char
TestJSONTokener.next
(char c) Consume the next character, and check that it matches a specified character.TestJSONTokener.next
(int n) Get the next n characters.char
TestJSONTokener.nextClean()
Get the next char in the string, skipping whitespace and comments (slashslash, slashstar, and hash).TestJSONTokener.nextString
(char quote) Return the characters up to the next close quote character.TestJSONTokener.nextValue()
Get the next value.static String
TestJSONObject.numberToString
(Number n) Produce a string from a Number.TestJSONArray.put
(double value) Append a double value.TestJSONArray.put
(int index, boolean value) Put or replace a boolean value in the JSONArray.TestJSONArray.put
(int index, double value) Put or replace a double value.TestJSONArray.put
(int index, int value) Put or replace an int value.TestJSONArray.put
(int index, long value) Put or replace a long value.Put or replace an object value in the JSONArray.TestJSONArray.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.TestJSONObject.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.void
TestJSONTokener.syntaxError
(String message) Make a JSONException to signal a syntax error.TestJSONObject.toJSONArray
(TestJSONArray names) Produce a JSONArray containing the values of the members of this JSONObject.TestJSONArray.toJSONObject
(TestJSONArray names) Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.TestJSONArray.toString
(int indentFactor) Make a prettyprinted JSON text of this JSONArray.TestJSONObject.toString
(int indentFactor) Make a prettyprinted JSON text of this JSONObject.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 com.atlassian.jira.functest.framework.util.json that throw TestJSONExceptionModifierConstructorDescriptionConstruct a JSONArray from a JSONTokener.TestJSONArray
(Object array) Construct a JSONArray from an arrayTestJSONArray
(String source) Construct a JSONArray from a source JSON text.TestJSONObject
(TestJSONObject jo, String[] names) Construct a JSONObject from a subset of another JSONObject.Construct a JSONObject from a JSONTokener.TestJSONObject
(String source) Construct a JSONObject from a source JSON text string.