Skip navigation links
A B C D E G H I J K L M N O P Q R S T U V W X 

A

accumulate(String, Object) - Method in class com.github.tsohr.JSONObject
Accumulate values under a key.
AMP - Static variable in class com.github.tsohr.XML
The Character '&'.
APOS - Static variable in class com.github.tsohr.XML
The Character '''.
append(String, Object) - Method in class com.github.tsohr.JSONObject
Append values to the array under a key.
append(String) - Method in class com.github.tsohr.JSONPointer.Builder
Adds an arbitrary token to the list of reference tokens.
append(int) - Method in class com.github.tsohr.JSONPointer.Builder
Adds an integer to the reference token list.
array() - Method in class com.github.tsohr.JSONWriter
Begin appending a new array.

B

back() - Method in class com.github.tsohr.JSONTokener
Back up one character.
BANG - Static variable in class com.github.tsohr.XML
The Character '!'.
build() - Method in class com.github.tsohr.JSONPointer.Builder
Creates a JSONPointer instance using the tokens previously set using the JSONPointer.Builder.append(String) method calls.
builder() - Static method in class com.github.tsohr.JSONPointer
Static factory method for JSONPointer.Builder.
Builder() - Constructor for class com.github.tsohr.JSONPointer.Builder
 

C

CDL - Class in com.github.tsohr
This provides static methods to convert comma delimited text into a JSONArray, and to convert a JSONArray into comma delimited text.
CDL() - Constructor for class com.github.tsohr.CDL
 
clear() - Method in class com.github.tsohr.JSONArray
Removes all of the elements from this JSONArray.
clear() - Method in class com.github.tsohr.JSONObject
Removes all of the elements from this JSONObject.
clone() - Method in class com.github.tsohr.XMLParserConfiguration
Provides a new instance of the same configuration.
com.github.tsohr - package com.github.tsohr
 
convert(String) - Method in interface com.github.tsohr.XMLXsiTypeConverter
 
Cookie - Class in com.github.tsohr
Convert a web browser cookie specification to a JSONObject and back.
Cookie() - Constructor for class com.github.tsohr.Cookie
 
CookieList - Class in com.github.tsohr
Convert a web browser cookie list string to a JSONObject and back.
CookieList() - Constructor for class com.github.tsohr.CookieList
 
CRLF - Static variable in class com.github.tsohr.HTTP
Carriage return/line feed.

D

dehexchar(char) - Static method in class com.github.tsohr.JSONTokener
Get the hex value of a character (base16).
doubleToString(double) - Static method in class com.github.tsohr.JSONObject
Produce a string from a double.

E

end() - Method in class com.github.tsohr.JSONTokener
Checks if the end of the input has been reached.
endArray() - Method in class com.github.tsohr.JSONWriter
End an array.
endObject() - Method in class com.github.tsohr.JSONWriter
End an object.
entity - Static variable in class com.github.tsohr.XMLTokener
The table of entity values.
entrySet() - Method in class com.github.tsohr.JSONObject
Get a set of entries of the JSONObject.
EQ - Static variable in class com.github.tsohr.XML
The Character '='.
escape(String) - Static method in class com.github.tsohr.Cookie
Produce a copy of a string in which the characters '+', '%', '=', ';' and control characters are replaced with "%hh".
escape(String) - Static method in class com.github.tsohr.XML
Replace special characters with XML escapes:

G

get(int) - Method in class com.github.tsohr.JSONArray
Get the object value associated with an index.
get(String) - Method in class com.github.tsohr.JSONObject
Get the value object associated with a key.
getBigDecimal(int) - Method in class com.github.tsohr.JSONArray
Get the BigDecimal value associated with an index.
getBigDecimal(String) - Method in class com.github.tsohr.JSONObject
Get the BigDecimal value associated with a key.
getBigInteger(int) - Method in class com.github.tsohr.JSONArray
Get the BigInteger value associated with an index.
getBigInteger(String) - Method in class com.github.tsohr.JSONObject
Get the BigInteger value associated with a key.
getBoolean(int) - Method in class com.github.tsohr.JSONArray
Get the boolean value associated with an index.
getBoolean(String) - Method in class com.github.tsohr.JSONObject
Get the boolean value associated with a key.
getcDataTagName() - Method in class com.github.tsohr.XMLParserConfiguration
The name of the key in a JSON Object that indicates a CDATA section.
getDouble(int) - Method in class com.github.tsohr.JSONArray
Get the double value associated with an index.
getDouble(String) - Method in class com.github.tsohr.JSONObject
Get the double value associated with a key.
getEnum(Class<E>, int) - Method in class com.github.tsohr.JSONArray
Get the enum value associated with an index.
getEnum(Class<E>, String) - Method in class com.github.tsohr.JSONObject
Get the enum value associated with a key.
getFloat(int) - Method in class com.github.tsohr.JSONArray
Get the float value associated with a key.
getFloat(String) - Method in class com.github.tsohr.JSONObject
Get the float value associated with a key.
getInt(int) - Method in class com.github.tsohr.JSONArray
Get the int value associated with an index.
getInt(String) - Method in class com.github.tsohr.JSONObject
Get the int value associated with a key.
getJSONArray(int) - Method in class com.github.tsohr.JSONArray
Get the JSONArray associated with an index.
getJSONArray(String) - Method in class com.github.tsohr.JSONObject
Get the JSONArray value associated with a key.
getJSONObject(int) - Method in class com.github.tsohr.JSONArray
Get the JSONObject associated with an index.
getJSONObject(String) - Method in class com.github.tsohr.JSONObject
Get the JSONObject value associated with a key.
getLong(int) - Method in class com.github.tsohr.JSONArray
Get the long value associated with an index.
getLong(String) - Method in class com.github.tsohr.JSONObject
Get the long value associated with a key.
getNames(JSONObject) - Static method in class com.github.tsohr.JSONObject
Get an array of field names from a JSONObject.
getNames(Object) - Static method in class com.github.tsohr.JSONObject
Get an array of public field names from an Object.
getNumber(int) - Method in class com.github.tsohr.JSONArray
Get the Number value associated with a key.
getNumber(String) - Method in class com.github.tsohr.JSONObject
Get the Number value associated with a key.
getString(int) - Method in class com.github.tsohr.JSONArray
Get the string associated with an index.
getString(String) - Method in class com.github.tsohr.JSONObject
Get the string associated with a key.
getXsiTypeMap() - Method in class com.github.tsohr.XMLParserConfiguration
When parsing the XML into JSON, specifies that the values with attribute xsi:type will be converted to target type defined to client in this configuration Map<String, XMLXsiTypeConverter<?>> to parse values with attribute xsi:type="integer" as integer, xsi:type="string" as string
GT - Static variable in class com.github.tsohr.XML
The Character

H

has(String) - Method in class com.github.tsohr.JSONObject
Determine if the JSONObject contains a specific key.
HTTP - Class in com.github.tsohr
Convert an HTTP header to a JSONObject and back.
HTTP() - Constructor for class com.github.tsohr.HTTP
 
HTTPTokener - Class in com.github.tsohr
The HTTPTokener extends the JSONTokener to provide additional methods for the parsing of HTTP headers.
HTTPTokener(String) - Constructor for class com.github.tsohr.HTTPTokener
Construct an HTTPTokener from a string.

I

increment(String) - Method in class com.github.tsohr.JSONObject
Increment a property of a JSONObject.
isConvertNilAttributeToNull() - Method in class com.github.tsohr.XMLParserConfiguration
When parsing the XML into JSON, specifies if values with attribute xsi:nil="true" should be kept as attribute(false), or they should be converted to null(true)
isDecimalNotation(String) - Static method in class com.github.tsohr.JSONObject
Tests if the value should be tried as a decimal.
isEmpty() - Method in class com.github.tsohr.JSONArray
Check if JSONArray is empty.
isEmpty() - Method in class com.github.tsohr.JSONObject
Check if JSONObject is empty.
isKeepStrings() - Method in class com.github.tsohr.XMLParserConfiguration
When parsing the XML into JSON, specifies if values should be kept as strings (true), or if they should try to be guessed into JSON values (numeric, boolean, string)
isNull(int) - Method in class com.github.tsohr.JSONArray
Determine if the value is null.
isNull(String) - Method in class com.github.tsohr.JSONObject
Determine if the value associated with the key is null or if there is no value.
iterator() - Method in class com.github.tsohr.JSONArray
 

J

join(String) - Method in class com.github.tsohr.JSONArray
Make a string from the contents of this JSONArray.
JSONArray - Class in com.github.tsohr
A JSONArray is an ordered sequence of values.
JSONArray() - Constructor for class com.github.tsohr.JSONArray
Construct an empty JSONArray.
JSONArray(JSONTokener) - Constructor for class com.github.tsohr.JSONArray
Construct a JSONArray from a JSONTokener.
JSONArray(String) - Constructor for class com.github.tsohr.JSONArray
Construct a JSONArray from a source JSON text.
JSONArray(Collection<?>) - Constructor for class com.github.tsohr.JSONArray
Construct a JSONArray from a Collection.
JSONArray(Iterable<?>) - Constructor for class com.github.tsohr.JSONArray
Construct a JSONArray from an Iterable.
JSONArray(JSONArray) - Constructor for class com.github.tsohr.JSONArray
Construct a JSONArray from another JSONArray.
JSONArray(Object) - Constructor for class com.github.tsohr.JSONArray
Construct a JSONArray from an array.
JSONArray(int) - Constructor for class com.github.tsohr.JSONArray
Construct a JSONArray with the specified initial capacity.
JSONException - Exception in com.github.tsohr
The JSONException is thrown by the JSON.org classes when things are amiss.
JSONException(String) - Constructor for exception com.github.tsohr.JSONException
Constructs a JSONException with an explanatory message.
JSONException(String, Throwable) - Constructor for exception com.github.tsohr.JSONException
Constructs a JSONException with an explanatory message and cause.
JSONException(Throwable) - Constructor for exception com.github.tsohr.JSONException
Constructs a new JSONException with the specified cause.
JSONML - Class in com.github.tsohr
This provides static methods to convert an XML text into a JSONArray or JSONObject, and to covert a JSONArray or JSONObject into an XML text using the JsonML transform.
JSONML() - Constructor for class com.github.tsohr.JSONML
 
JSONObject - Class in com.github.tsohr
A JSONObject is an unordered collection of name/value pairs.
JSONObject() - Constructor for class com.github.tsohr.JSONObject
Construct an empty JSONObject.
JSONObject(JSONObject, String...) - Constructor for class com.github.tsohr.JSONObject
Construct a JSONObject from a subset of another JSONObject.
JSONObject(JSONTokener) - Constructor for class com.github.tsohr.JSONObject
Construct a JSONObject from a JSONTokener.
JSONObject(Map<?, ?>) - Constructor for class com.github.tsohr.JSONObject
Construct a JSONObject from a Map.
JSONObject(Object) - Constructor for class com.github.tsohr.JSONObject
Construct a JSONObject from an Object using bean getters.
JSONObject(Object, String...) - Constructor for class com.github.tsohr.JSONObject
Construct a JSONObject from an Object, using reflection to find the public members.
JSONObject(String) - Constructor for class com.github.tsohr.JSONObject
Construct a JSONObject from a source JSON text string.
JSONObject(String, Locale) - Constructor for class com.github.tsohr.JSONObject
Construct a JSONObject from a ResourceBundle.
JSONObject(int) - Constructor for class com.github.tsohr.JSONObject
Constructor to specify an initial capacity of the internal map.
JSONPointer - Class in com.github.tsohr
A JSON Pointer is a simple query language defined for JSON documents by RFC 6901.
JSONPointer(String) - Constructor for class com.github.tsohr.JSONPointer
Pre-parses and initializes a new JSONPointer instance.
JSONPointer(List<String>) - Constructor for class com.github.tsohr.JSONPointer
 
JSONPointer.Builder - Class in com.github.tsohr
This class allows the user to build a JSONPointer in steps, using exactly one segment in each step.
JSONPointerException - Exception in com.github.tsohr
The JSONPointerException is thrown by JSONPointer if an error occurs during evaluating a pointer.
JSONPointerException(String) - Constructor for exception com.github.tsohr.JSONPointerException
 
JSONPointerException(String, Throwable) - Constructor for exception com.github.tsohr.JSONPointerException
 
JSONPropertyIgnore - Annotation Type in com.github.tsohr
 
JSONPropertyName - Annotation Type in com.github.tsohr
 
JSONString - Interface in com.github.tsohr
The JSONString interface allows a toJSONString() method so that a class can change the behavior of JSONObject.toString(), JSONArray.toString(), and JSONWriter.value(Object).
JSONStringer - Class in com.github.tsohr
JSONStringer provides a quick and convenient way of producing JSON text.
JSONStringer() - Constructor for class com.github.tsohr.JSONStringer
Make a fresh JSONStringer.
JSONTokener - Class in com.github.tsohr
A JSONTokener takes a source string and extracts characters and tokens from it.
JSONTokener(Reader) - Constructor for class com.github.tsohr.JSONTokener
Construct a JSONTokener from a Reader.
JSONTokener(InputStream) - Constructor for class com.github.tsohr.JSONTokener
Construct a JSONTokener from an InputStream.
JSONTokener(String) - Constructor for class com.github.tsohr.JSONTokener
Construct a JSONTokener from a string.
JSONWriter - Class in com.github.tsohr
JSONWriter provides a quick and convenient way of producing JSON text.
JSONWriter(Appendable) - Constructor for class com.github.tsohr.JSONWriter
Make a fresh JSONWriter.

K

KEEP_STRINGS - Static variable in class com.github.tsohr.XMLParserConfiguration
Original configuration of the XML Parser except that values are kept as strings.
key(String) - Method in class com.github.tsohr.JSONWriter
Append a key.
keys() - Method in class com.github.tsohr.JSONObject
Get an enumeration of the keys of the JSONObject.
keySet() - Method in class com.github.tsohr.JSONObject
Get a set of keys of the JSONObject.

L

length() - Method in class com.github.tsohr.JSONArray
Get the number of elements in the JSONArray, included nulls.
length() - Method in class com.github.tsohr.JSONObject
Get the number of keys stored in the JSONObject.
LT - Static variable in class com.github.tsohr.XML
The Character '<'.

M

mode - Variable in class com.github.tsohr.JSONWriter
The current mode.
more() - Method in class com.github.tsohr.JSONTokener
Determine if the source string still contains characters that next() can consume.

N

names() - Method in class com.github.tsohr.JSONObject
Produce a JSONArray containing the names of the elements of this JSONObject.
next() - Method in class com.github.tsohr.JSONTokener
Get the next character in the source string.
next(char) - Method in class com.github.tsohr.JSONTokener
Consume the next character, and check that it matches a specified character.
next(int) - Method in class com.github.tsohr.JSONTokener
Get the next n characters.
nextCDATA() - Method in class com.github.tsohr.XMLTokener
Get the text in the CDATA block.
nextClean() - Method in class com.github.tsohr.JSONTokener
Get the next char in the string, skipping whitespace.
nextContent() - Method in class com.github.tsohr.XMLTokener
Get the next XML outer token, trimming whitespace.
nextEntity(char) - Method in class com.github.tsohr.XMLTokener
{@code Return the next entity.
nextMeta() - Method in class com.github.tsohr.XMLTokener
{@code Returns the next XML meta token.
nextString(char) - Method in class com.github.tsohr.JSONTokener
Return the characters up to the next close quote character.
nextTo(char) - Method in class com.github.tsohr.JSONTokener
Get the text up but not including the specified character or the end of line, whichever comes first.
nextTo(String) - Method in class com.github.tsohr.JSONTokener
Get the text up but not including one of the specified delimiter characters or the end of line, whichever comes first.
nextToken() - Method in class com.github.tsohr.HTTPTokener
Get the next token or string.
nextToken() - Method in class com.github.tsohr.XMLTokener
{@code Get the next XML Token.
nextValue() - Method in class com.github.tsohr.JSONTokener
Get the next value.
noSpace(String) - Static method in class com.github.tsohr.XML
Throw an exception if the string contains whitespace.
NULL - Static variable in class com.github.tsohr.JSONObject
It is sometimes more convenient and less ambiguous to have a NULL object than to use Java's null value.
NULL_ATTR - Static variable in class com.github.tsohr.XML
Null attribute name
numberToString(Number) - Static method in class com.github.tsohr.JSONObject
Produce a string from a Number.

O

object() - Method in class com.github.tsohr.JSONWriter
Begin appending a new object.
opt(int) - Method in class com.github.tsohr.JSONArray
Get the optional object value associated with an index.
opt(String) - Method in class com.github.tsohr.JSONObject
Get an optional value associated with a key.
optBigDecimal(int, BigDecimal) - Method in class com.github.tsohr.JSONArray
Get the optional BigDecimal value associated with an index.
optBigDecimal(String, BigDecimal) - Method in class com.github.tsohr.JSONObject
Get an optional BigDecimal associated with a key, or the defaultValue if there is no such key or if its value is not a number.
optBigInteger(int, BigInteger) - Method in class com.github.tsohr.JSONArray
Get the optional BigInteger value associated with an index.
optBigInteger(String, BigInteger) - Method in class com.github.tsohr.JSONObject
Get an optional BigInteger associated with a key, or the defaultValue if there is no such key or if its value is not a number.
optBoolean(int) - Method in class com.github.tsohr.JSONArray
Get the optional boolean value associated with an index.
optBoolean(int, boolean) - Method in class com.github.tsohr.JSONArray
Get the optional boolean value associated with an index.
optBoolean(String) - Method in class com.github.tsohr.JSONObject
Get an optional boolean associated with a key.
optBoolean(String, boolean) - Method in class com.github.tsohr.JSONObject
Get an optional boolean associated with a key.
optBooleanNullable(String, Boolean) - Method in class com.github.tsohr.JSONObject
Get an optional boolean associated with a key.
optDouble(int) - Method in class com.github.tsohr.JSONArray
Get the optional double value associated with an index.
optDouble(int, double) - Method in class com.github.tsohr.JSONArray
Get the optional double value associated with an index.
optDouble(String) - Method in class com.github.tsohr.JSONObject
Get an optional double associated with a key, or NaN if there is no such key or if its value is not a number.
optDouble(String, double) - Method in class com.github.tsohr.JSONObject
Get an optional double associated with a key, or the defaultValue if there is no such key or if its value is not a number.
optDoubleNullable(String, Double) - Method in class com.github.tsohr.JSONObject
Get an optional double associated with a key, or the defaultValue if there is no such key or if its value is not a number.
optEnum(Class<E>, int) - Method in class com.github.tsohr.JSONArray
Get the enum value associated with a key.
optEnum(Class<E>, int, E) - Method in class com.github.tsohr.JSONArray
Get the enum value associated with a key.
optEnum(Class<E>, String) - Method in class com.github.tsohr.JSONObject
Get the enum value associated with a key.
optEnum(Class<E>, String, E) - Method in class com.github.tsohr.JSONObject
Get the enum value associated with a key.
optFloat(int) - Method in class com.github.tsohr.JSONArray
Get the optional float value associated with an index.
optFloat(int, float) - Method in class com.github.tsohr.JSONArray
Get the optional float value associated with an index.
optFloat(String) - Method in class com.github.tsohr.JSONObject
Get the optional double value associated with an index.
optFloat(String, float) - Method in class com.github.tsohr.JSONObject
Get the optional double value associated with an index.
optFloatNullable(String, Float) - Method in class com.github.tsohr.JSONObject
Get the optional double value associated with an index.
optInt(int) - Method in class com.github.tsohr.JSONArray
Get the optional int value associated with an index.
optInt(int, int) - Method in class com.github.tsohr.JSONArray
Get the optional int value associated with an index.
optInt(String) - Method in class com.github.tsohr.JSONObject
Get an optional int value associated with a key, or zero if there is no such key or if the value is not a number.
optInt(String, int) - Method in class com.github.tsohr.JSONObject
Get an optional int value associated with a key, or the default if there is no such key or if the value is not a number.
optIntNullable(String, Integer) - Method in class com.github.tsohr.JSONObject
Get an optional int value associated with a key, or the default if there is no such key or if the value is not a number.
optJSONArray(int) - Method in class com.github.tsohr.JSONArray
Get the optional JSONArray associated with an index.
optJSONArray(String) - Method in class com.github.tsohr.JSONObject
Get an optional JSONArray associated with a key.
optJSONObject(int) - Method in class com.github.tsohr.JSONArray
Get the optional JSONObject associated with an index.
optJSONObject(String) - Method in class com.github.tsohr.JSONObject
Get an optional JSONObject associated with a key.
optLong(int) - Method in class com.github.tsohr.JSONArray
Get the optional long value associated with an index.
optLong(int, long) - Method in class com.github.tsohr.JSONArray
Get the optional long value associated with an index.
optLong(String) - Method in class com.github.tsohr.JSONObject
Get an optional long value associated with a key, or zero if there is no such key or if the value is not a number.
optLong(String, long) - Method in class com.github.tsohr.JSONObject
Get an optional long value associated with a key, or the default if there is no such key or if the value is not a number.
optLongNullable(String, Long) - Method in class com.github.tsohr.JSONObject
Get an optional long value associated with a key, or the default if there is no such key or if the value is not a number.
optNumber(int) - Method in class com.github.tsohr.JSONArray
Get an optional Number value associated with a key, or null if there is no such key or if the value is not a number.
optNumber(int, Number) - Method in class com.github.tsohr.JSONArray
Get an optional Number value associated with a key, or the default if there is no such key or if the value is not a number.
optNumber(String) - Method in class com.github.tsohr.JSONObject
Get an optional Number value associated with a key, or null if there is no such key or if the value is not a number.
optNumber(String, Number) - Method in class com.github.tsohr.JSONObject
Get an optional Number value associated with a key, or the default if there is no such key or if the value is not a number.
optQuery(String) - Method in class com.github.tsohr.JSONArray
Queries and returns a value from this object using jsonPointer, or returns null if the query fails due to a missing key.
optQuery(JSONPointer) - Method in class com.github.tsohr.JSONArray
Queries and returns a value from this object using jsonPointer, or returns null if the query fails due to a missing key.
optQuery(String) - Method in class com.github.tsohr.JSONObject
Queries and returns a value from this object using jsonPointer, or returns null if the query fails due to a missing key.
optQuery(JSONPointer) - Method in class com.github.tsohr.JSONObject
Queries and returns a value from this object using jsonPointer, or returns null if the query fails due to a missing key.
optString(int) - Method in class com.github.tsohr.JSONArray
Get the optional string value associated with an index.
optString(int, String) - Method in class com.github.tsohr.JSONArray
Get the optional string associated with an index.
optString(String) - Method in class com.github.tsohr.JSONObject
Get an optional string associated with a key.
optString(String, String) - Method in class com.github.tsohr.JSONObject
Get an optional string associated with a key.
ORIGINAL - Static variable in class com.github.tsohr.XMLParserConfiguration
Original Configuration of the XML Parser.

P

Property - Class in com.github.tsohr
Converts a Property file data into JSONObject and back.
Property() - Constructor for class com.github.tsohr.Property
 
put(boolean) - Method in class com.github.tsohr.JSONArray
Append a boolean value.
put(Collection<?>) - Method in class com.github.tsohr.JSONArray
Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
put(double) - Method in class com.github.tsohr.JSONArray
Append a double value.
put(float) - Method in class com.github.tsohr.JSONArray
Append a float value.
put(int) - Method in class com.github.tsohr.JSONArray
Append an int value.
put(long) - Method in class com.github.tsohr.JSONArray
Append an long value.
put(Map<?, ?>) - Method in class com.github.tsohr.JSONArray
Put a value in the JSONArray, where the value will be a JSONObject which is produced from a Map.
put(Object) - Method in class com.github.tsohr.JSONArray
Append an object value.
put(int, boolean) - Method in class com.github.tsohr.JSONArray
Put or replace a boolean value in the JSONArray.
put(int, Collection<?>) - Method in class com.github.tsohr.JSONArray
Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
put(int, double) - Method in class com.github.tsohr.JSONArray
Put or replace a double value.
put(int, float) - Method in class com.github.tsohr.JSONArray
Put or replace a float value.
put(int, int) - Method in class com.github.tsohr.JSONArray
Put or replace an int value.
put(int, long) - Method in class com.github.tsohr.JSONArray
Put or replace a long value.
put(int, Map<?, ?>) - Method in class com.github.tsohr.JSONArray
Put a value in the JSONArray, where the value will be a JSONObject that is produced from a Map.
put(int, Object) - Method in class com.github.tsohr.JSONArray
Put or replace an object value in the JSONArray.
put(String, boolean) - Method in class com.github.tsohr.JSONObject
Put a key/boolean pair in the JSONObject.
put(String, Collection<?>) - Method in class com.github.tsohr.JSONObject
Put a key/value pair in the JSONObject, where the value will be a JSONArray which is produced from a Collection.
put(String, double) - Method in class com.github.tsohr.JSONObject
Put a key/double pair in the JSONObject.
put(String, float) - Method in class com.github.tsohr.JSONObject
Put a key/float pair in the JSONObject.
put(String, int) - Method in class com.github.tsohr.JSONObject
Put a key/int pair in the JSONObject.
put(String, long) - Method in class com.github.tsohr.JSONObject
Put a key/long pair in the JSONObject.
put(String, Map<?, ?>) - Method in class com.github.tsohr.JSONObject
Put a key/value pair in the JSONObject, where the value will be a JSONObject which is produced from a Map.
put(String, Object) - Method in class com.github.tsohr.JSONObject
Put a key/value pair in the JSONObject.
putAll(Collection<?>) - Method in class com.github.tsohr.JSONArray
Put a collection's elements in to the JSONArray.
putAll(Iterable<?>) - Method in class com.github.tsohr.JSONArray
Put an Iterable's elements in to the JSONArray.
putAll(JSONArray) - Method in class com.github.tsohr.JSONArray
Put a JSONArray's elements in to the JSONArray.
putAll(Object) - Method in class com.github.tsohr.JSONArray
Put an array's elements in to the JSONArray.
putOnce(String, Object) - Method in class com.github.tsohr.JSONObject
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.
putOpt(String, Object) - Method in class com.github.tsohr.JSONObject
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null.

Q

query(String) - Method in class com.github.tsohr.JSONArray
Creates a JSONPointer using an initialization string and tries to match it to an item within this JSONArray.
query(JSONPointer) - Method in class com.github.tsohr.JSONArray
Uses a user initialized JSONPointer and tries to match it to an item within this JSONArray.
query(String) - Method in class com.github.tsohr.JSONObject
Creates a JSONPointer using an initialization string and tries to match it to an item within this JSONObject.
query(JSONPointer) - Method in class com.github.tsohr.JSONObject
Uses a user initialized JSONPointer and tries to match it to an item within this JSONObject.
queryFrom(Object) - Method in class com.github.tsohr.JSONPointer
Evaluates this JSON Pointer on the given document.
QUEST - Static variable in class com.github.tsohr.XML
The Character '?'.
QUOT - Static variable in class com.github.tsohr.XML
The Character '"'.
quote(String) - Static method in class com.github.tsohr.JSONObject
Produce a string in double quotes with backslash sequences in all the right places.
quote(String, Writer) - Static method in class com.github.tsohr.JSONObject
 

R

remove(int) - Method in class com.github.tsohr.JSONArray
Remove an index and close the hole.
remove(String) - Method in class com.github.tsohr.JSONObject
Remove a name and its value, if present.
rowToJSONArray(JSONTokener) - Static method in class com.github.tsohr.CDL
Produce a JSONArray of strings from a row of comma delimited values.
rowToJSONObject(JSONArray, JSONTokener) - Static method in class com.github.tsohr.CDL
Produce a JSONObject from a row of comma delimited text, using a parallel JSONArray of strings to provides the names of the elements.
rowToString(JSONArray) - Static method in class com.github.tsohr.CDL
Produce a comma delimited text row from a JSONArray.

S

similar(Object) - Method in class com.github.tsohr.JSONArray
Determine if two JSONArrays are similar.
similar(Object) - Method in class com.github.tsohr.JSONObject
Determine if two JSONObjects are similar.
skipPast(String) - Method in class com.github.tsohr.XMLTokener
Skip characters until past the requested string.
skipTo(char) - Method in class com.github.tsohr.JSONTokener
Skip characters until the next character is the requested character.
SLASH - Static variable in class com.github.tsohr.XML
The Character '/'.
stringToNumber(String) - Static method in class com.github.tsohr.JSONObject
Converts a string to a number using the narrowest possible type.
stringToValue(String) - Static method in class com.github.tsohr.JSONObject
Try to convert a string into a number, boolean, or null.
stringToValue(String, XMLXsiTypeConverter<?>) - Static method in class com.github.tsohr.XML
This method tries to convert the given string value to the target object
stringToValue(String) - Static method in class com.github.tsohr.XML
This method is the same as JSONObject.stringToValue(String).
syntaxError(String) - Method in class com.github.tsohr.JSONTokener
Make a JSONException to signal a syntax error.
syntaxError(String, Throwable) - Method in class com.github.tsohr.JSONTokener
Make a JSONException to signal a syntax error.

T

testValidity(Object) - Static method in class com.github.tsohr.JSONObject
Throw an exception if the object is a NaN or infinite number.
toJSONArray(String) - Static method in class com.github.tsohr.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string, using the first row as a source of names.
toJSONArray(JSONTokener) - Static method in class com.github.tsohr.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string, using the first row as a source of names.
toJSONArray(JSONArray, String) - Static method in class com.github.tsohr.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string using a supplied JSONArray as the source of element names.
toJSONArray(JSONArray, JSONTokener) - Static method in class com.github.tsohr.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string using a supplied JSONArray as the source of element names.
toJSONArray(String) - Static method in class com.github.tsohr.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONArray using the JsonML transform.
toJSONArray(String, boolean) - Static method in class com.github.tsohr.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONArray using the JsonML transform.
toJSONArray(XMLTokener, boolean) - Static method in class com.github.tsohr.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONArray using the JsonML transform.
toJSONArray(XMLTokener) - Static method in class com.github.tsohr.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONArray using the JsonML transform.
toJSONArray(JSONArray) - Method in class com.github.tsohr.JSONObject
Produce a JSONArray containing the values of the members of this JSONObject.
toJSONObject(String) - Static method in class com.github.tsohr.Cookie
Convert a cookie specification string into a JSONObject.
toJSONObject(String) - Static method in class com.github.tsohr.CookieList
Convert a cookie list into a JSONObject.
toJSONObject(String) - Static method in class com.github.tsohr.HTTP
Convert an HTTP header string into a JSONObject.
toJSONObject(JSONArray) - Method in class com.github.tsohr.JSONArray
Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
toJSONObject(String) - Static method in class com.github.tsohr.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject using the JsonML transform.
toJSONObject(String, boolean) - Static method in class com.github.tsohr.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject using the JsonML transform.
toJSONObject(XMLTokener) - Static method in class com.github.tsohr.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject using the JsonML transform.
toJSONObject(XMLTokener, boolean) - Static method in class com.github.tsohr.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject using the JsonML transform.
toJSONObject(Properties) - Static method in class com.github.tsohr.Property
Converts a property file object into a JSONObject.
toJSONObject(String) - Static method in class com.github.tsohr.XML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject.
toJSONObject(Reader) - Static method in class com.github.tsohr.XML
Convert a well-formed (but not necessarily valid) XML into a JSONObject.
toJSONObject(Reader, boolean) - Static method in class com.github.tsohr.XML
Convert a well-formed (but not necessarily valid) XML into a JSONObject.
toJSONObject(Reader, XMLParserConfiguration) - Static method in class com.github.tsohr.XML
Convert a well-formed (but not necessarily valid) XML into a JSONObject.
toJSONObject(String, boolean) - Static method in class com.github.tsohr.XML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject.
toJSONObject(String, XMLParserConfiguration) - Static method in class com.github.tsohr.XML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject.
toJSONString() - Method in interface com.github.tsohr.JSONString
The toJSONString method allows a class to produce its own JSON serialization.
toList() - Method in class com.github.tsohr.JSONArray
Returns a java.util.List containing all of the elements in this array.
toMap() - Method in class com.github.tsohr.JSONObject
Returns a java.util.Map containing all of the entries in this object.
toProperties(JSONObject) - Static method in class com.github.tsohr.Property
Converts the JSONObject into a property file object.
toString(JSONArray) - Static method in class com.github.tsohr.CDL
Produce a comma delimited text from a JSONArray of JSONObjects.
toString(JSONArray, JSONArray) - Static method in class com.github.tsohr.CDL
Produce a comma delimited text from a JSONArray of JSONObjects using a provided list of names.
toString(JSONObject) - Static method in class com.github.tsohr.Cookie
Convert a JSONObject into a cookie specification string.
toString(JSONObject) - Static method in class com.github.tsohr.CookieList
Convert a JSONObject into a cookie list.
toString(JSONObject) - Static method in class com.github.tsohr.HTTP
Convert a JSONObject into an HTTP header.
toString() - Method in class com.github.tsohr.JSONArray
Make a JSON text of this JSONArray.
toString(int) - Method in class com.github.tsohr.JSONArray
Make a pretty-printed JSON text of this JSONArray.
toString(JSONArray) - Static method in class com.github.tsohr.JSONML
Reverse the JSONML transformation, making an XML text from a JSONArray.
toString(JSONObject) - Static method in class com.github.tsohr.JSONML
Reverse the JSONML transformation, making an XML text from a JSONObject.
toString() - Method in class com.github.tsohr.JSONObject
Make a JSON text of this JSONObject.
toString(int) - Method in class com.github.tsohr.JSONObject
Make a pretty-printed JSON text of this JSONObject.
toString() - Method in class com.github.tsohr.JSONPointer
Returns a string representing the JSONPointer path value using string representation
toString() - Method in class com.github.tsohr.JSONStringer
Return the JSON text.
toString() - Method in class com.github.tsohr.JSONTokener
Make a printable string of this JSONTokener.
toString(Object) - Static method in class com.github.tsohr.XML
Convert a JSONObject into a well-formed, element-normal XML string.
toString(Object, String) - Static method in class com.github.tsohr.XML
Convert a JSONObject into a well-formed, element-normal XML string.
toString(Object, String, XMLParserConfiguration) - Static method in class com.github.tsohr.XML
Convert a JSONObject into a well-formed, element-normal XML string.
toURIFragment() - Method in class com.github.tsohr.JSONPointer
Returns a string representing the JSONPointer path value using URI fragment identifier representation
TYPE_ATTR - Static variable in class com.github.tsohr.XML
 

U

unescape(String) - Static method in class com.github.tsohr.Cookie
Convert %hh sequences to single characters, and convert plus to space.
unescape(String) - Static method in class com.github.tsohr.XML
Removes XML escapes from the string.

V

value(boolean) - Method in class com.github.tsohr.JSONWriter
Append either the value true or the value false.
value(double) - Method in class com.github.tsohr.JSONWriter
Append a double value.
value(long) - Method in class com.github.tsohr.JSONWriter
Append a long value.
value(Object) - Method in class com.github.tsohr.JSONWriter
Append an object value.
valueToString(Object) - Static method in class com.github.tsohr.JSONObject
Make a JSON text of an Object value.
valueToString(Object) - Static method in class com.github.tsohr.JSONWriter
Make a JSON text of an Object value.

W

withcDataTagName(String) - Method in class com.github.tsohr.XMLParserConfiguration
The name of the key in a JSON Object that indicates a CDATA section.
withConvertNilAttributeToNull(boolean) - Method in class com.github.tsohr.XMLParserConfiguration
When parsing the XML into JSON, specifies if values with attribute xsi:nil="true" should be kept as attribute(false), or they should be converted to null(true)
withKeepStrings(boolean) - Method in class com.github.tsohr.XMLParserConfiguration
When parsing the XML into JSON, specifies if values should be kept as strings (true), or if they should try to be guessed into JSON values (numeric, boolean, string)
withXsiTypeMap(Map<String, XMLXsiTypeConverter<?>>) - Method in class com.github.tsohr.XMLParserConfiguration
When parsing the XML into JSON, specifies that the values with attribute xsi:type will be converted to target type defined to client in this configuration Map<String, XMLXsiTypeConverter<?>> to parse values with attribute xsi:type="integer" as integer, xsi:type="string" as string
wrap(Object) - Static method in class com.github.tsohr.JSONObject
Wrap an object, if necessary.
write(Writer) - Method in class com.github.tsohr.JSONArray
Write the contents of the JSONArray as JSON text to a writer.
write(Writer, int, int) - Method in class com.github.tsohr.JSONArray
Write the contents of the JSONArray as JSON text to a writer.
write(Writer) - Method in class com.github.tsohr.JSONObject
Write the contents of the JSONObject as JSON text to a writer.
write(Writer, int, int) - Method in class com.github.tsohr.JSONObject
Write the contents of the JSONObject as JSON text to a writer.
writer - Variable in class com.github.tsohr.JSONWriter
The writer that will receive the output.

X

XML - Class in com.github.tsohr
This provides static methods to convert an XML text into a JSONObject, and to covert a JSONObject into an XML text.
XML() - Constructor for class com.github.tsohr.XML
 
XMLParserConfiguration - Class in com.github.tsohr
Configuration object for the XML parser.
XMLParserConfiguration() - Constructor for class com.github.tsohr.XMLParserConfiguration
Default parser configuration.
XMLParserConfiguration(boolean) - Constructor for class com.github.tsohr.XMLParserConfiguration
Deprecated.
This constructor has been deprecated in favor of using the new builder pattern for the configuration. This constructor may be removed in a future release.
XMLParserConfiguration(String) - Constructor for class com.github.tsohr.XMLParserConfiguration
Deprecated.
This constructor has been deprecated in favor of using the new builder pattern for the configuration. This constructor may be removed in a future release.
XMLParserConfiguration(boolean, String) - Constructor for class com.github.tsohr.XMLParserConfiguration
Deprecated.
This constructor has been deprecated in favor of using the new builder pattern for the configuration. This constructor may be removed in a future release.
XMLParserConfiguration(boolean, String, boolean) - Constructor for class com.github.tsohr.XMLParserConfiguration
Deprecated.
This constructor has been deprecated in favor of using the new builder pattern for the configuration. This constructor may be removed or marked private in a future release.
XMLTokener - Class in com.github.tsohr
The XMLTokener extends the JSONTokener to provide additional methods for the parsing of XML texts.
XMLTokener(Reader) - Constructor for class com.github.tsohr.XMLTokener
Construct an XMLTokener from a Reader.
XMLTokener(String) - Constructor for class com.github.tsohr.XMLTokener
Construct an XMLTokener from a string.
XMLXsiTypeConverter<T> - Interface in com.github.tsohr
Type conversion configuration interface to be used with xsi:type attributes.
A B C D E G H I J K L M N O P Q R S T U V W X 
Skip navigation links

Copyright © 2021. All Rights Reserved.