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

A

AbstractArrayConverter - Class in net.sf.json.converter
Base class for array conversions.
AbstractArrayConverter() - Constructor for class net.sf.json.converter.AbstractArrayConverter
 
AbstractArrayConverter(boolean) - Constructor for class net.sf.json.converter.AbstractArrayConverter
 
AbstractDecimalConverter - Class in net.sf.json.converter
Base class for primitive decimal conversion.
AbstractDecimalConverter() - Constructor for class net.sf.json.converter.AbstractDecimalConverter
 
AbstractDecimalConverter(boolean) - Constructor for class net.sf.json.converter.AbstractDecimalConverter
 
AbstractIntegerConverter - Class in net.sf.json.converter
Base class por primitive integer conversion.
AbstractIntegerConverter() - Constructor for class net.sf.json.converter.AbstractIntegerConverter
 
AbstractIntegerConverter(boolean) - Constructor for class net.sf.json.converter.AbstractIntegerConverter
 
AbstractPrimitiveConverter - Class in net.sf.json.converter
Base class for primitive value conversion.
AbstractPrimitiveConverter() - Constructor for class net.sf.json.converter.AbstractPrimitiveConverter
 
AbstractPrimitiveConverter(boolean) - Constructor for class net.sf.json.converter.AbstractPrimitiveConverter
 
accumulate(String, Object) - Method in class net.sf.json.JSONObject
Accumulate values under a key.
append(String, Object) - Method in class net.sf.json.JSONObject
Append values to the array under a key.
array() - Method in class net.sf.json.JSONBuilder
Begin appending a new array.
ARRAY - Static variable in interface net.sf.json.JSONTypes
 
attributes - Variable in class net.sf.json.JSONDynaClass
 

B

back() - Method in class net.sf.json.JSONTokener
Back up one character.
BOOLEAN - Static variable in interface net.sf.json.JSONTypes
 
BooleanArrayConverter - Class in net.sf.json.converter
Converts an array to a boolean[].
BooleanArrayConverter() - Constructor for class net.sf.json.converter.BooleanArrayConverter
 
BooleanArrayConverter(boolean) - Constructor for class net.sf.json.converter.BooleanArrayConverter
 
BooleanConverter - Class in net.sf.json.converter
 
BooleanConverter() - Constructor for class net.sf.json.converter.BooleanConverter
 
BooleanConverter(boolean) - Constructor for class net.sf.json.converter.BooleanConverter
 
BooleanObjectArrayConverter - Class in net.sf.json.converter
Converts an array to a Boolean[].
BooleanObjectArrayConverter() - Constructor for class net.sf.json.converter.BooleanObjectArrayConverter
 
BooleanObjectArrayConverter(boolean) - Constructor for class net.sf.json.converter.BooleanObjectArrayConverter
 
ByteArrayConverter - Class in net.sf.json.converter
Converts an array to a byte[].
ByteArrayConverter() - Constructor for class net.sf.json.converter.ByteArrayConverter
 
ByteArrayConverter(byte) - Constructor for class net.sf.json.converter.ByteArrayConverter
 
ByteConverter - Class in net.sf.json.converter
 
ByteConverter() - Constructor for class net.sf.json.converter.ByteConverter
 
ByteConverter(byte) - Constructor for class net.sf.json.converter.ByteConverter
 

C

CDL - Class in net.sf.json
This provides static methods to convert comma delimited text into a JSONArray, and to covert a JSONArray into comma delimited text.
CDL() - Constructor for class net.sf.json.CDL
 
CharArrayConverter - Class in net.sf.json.converter
Converts an array to a char[].
CharArrayConverter() - Constructor for class net.sf.json.converter.CharArrayConverter
 
CharArrayConverter(char) - Constructor for class net.sf.json.converter.CharArrayConverter
 
CharConverter - Class in net.sf.json.converter
 
CharConverter() - Constructor for class net.sf.json.converter.CharConverter
 
CharConverter(char) - Constructor for class net.sf.json.converter.CharConverter
 
CharObjectArrayConverter - Class in net.sf.json.converter
Converts an array to a Character[].
CharObjectArrayConverter() - Constructor for class net.sf.json.converter.CharObjectArrayConverter
 
CharObjectArrayConverter(char) - Constructor for class net.sf.json.converter.CharObjectArrayConverter
 
contains(String, String) - Method in class net.sf.json.JSONDynaBean
 
ConversionException - Exception in net.sf.json.converter
 
ConversionException() - Constructor for exception net.sf.json.converter.ConversionException
 
ConversionException(String) - Constructor for exception net.sf.json.converter.ConversionException
 
ConversionException(String, Throwable) - Constructor for exception net.sf.json.converter.ConversionException
 
ConversionException(Throwable) - Constructor for exception net.sf.json.converter.ConversionException
 
convert(Object) - Method in class net.sf.json.converter.AbstractArrayConverter
 
convert(Object) - Method in class net.sf.json.converter.BooleanArrayConverter
 
convert(Object) - Method in class net.sf.json.converter.BooleanConverter
 
convert(Object) - Method in class net.sf.json.converter.BooleanObjectArrayConverter
 
convert(Object) - Method in class net.sf.json.converter.ByteArrayConverter
 
convert(Object) - Method in class net.sf.json.converter.ByteConverter
 
convert(Object) - Method in class net.sf.json.converter.CharArrayConverter
 
convert(Object) - Method in class net.sf.json.converter.CharConverter
 
convert(Object) - Method in class net.sf.json.converter.CharObjectArrayConverter
 
convert(Object) - Method in class net.sf.json.converter.DoubleArrayConverter
 
convert(Object) - Method in class net.sf.json.converter.DoubleConverter
 
convert(Object) - Method in class net.sf.json.converter.FloatArrayConverter
 
convert(Object) - Method in class net.sf.json.converter.FloatConverter
 
convert(Object) - Method in class net.sf.json.converter.IntArrayConverter
 
convert(Object) - Method in class net.sf.json.converter.IntConverter
 
convert(Object) - Method in class net.sf.json.converter.LongArrayConverter
 
convert(Object) - Method in class net.sf.json.converter.LongConverter
 
convert(Object) - Method in class net.sf.json.converter.NumberArrayConverter
 
convert(Object) - Method in class net.sf.json.converter.NumberConverter
 
convert(Object) - Method in class net.sf.json.converter.ShortArrayConverter
 
convert(Object) - Method in class net.sf.json.converter.ShortConverter
 
Converter - Interface in net.sf.json.converter
Marker interface for converters.
ConverterRegistry - Class in net.sf.json.converter
 
createDimensions(int, int) - Method in class net.sf.json.converter.AbstractArrayConverter
 
createDimensions(int, int) - Method in class net.sf.json.converter.NumberArrayConverter
 

D

dehexchar(char) - Static method in class net.sf.json.JSONTokener
Get the hex value of a character (base16).
DoubleArrayConverter - Class in net.sf.json.converter
Converts an array to a double[].
DoubleArrayConverter() - Constructor for class net.sf.json.converter.DoubleArrayConverter
 
DoubleArrayConverter(double) - Constructor for class net.sf.json.converter.DoubleArrayConverter
 
DoubleConverter - Class in net.sf.json.converter
 
DoubleConverter() - Constructor for class net.sf.json.converter.DoubleConverter
 
DoubleConverter(double) - Constructor for class net.sf.json.converter.DoubleConverter
 
doubleToString(double) - Static method in class net.sf.json.JSONUtils
Produce a string from a double.
dynaClass - Variable in class net.sf.json.JSONDynaBean
 
dynaProperties - Variable in class net.sf.json.JSONDynaClass
 
dynaValues - Variable in class net.sf.json.JSONDynaBean
 

E

endArray() - Method in class net.sf.json.JSONBuilder
End an array.
endObject() - Method in class net.sf.json.JSONBuilder
End an object.
equals(Object) - Method in class net.sf.json.JSONNull
A Null object is equal to the null value and to itself.

F

FLOAT - Static variable in interface net.sf.json.JSONTypes
 
FloatArrayConverter - Class in net.sf.json.converter
Converts an array to a float[].
FloatArrayConverter() - Constructor for class net.sf.json.converter.FloatArrayConverter
 
FloatArrayConverter(float) - Constructor for class net.sf.json.converter.FloatArrayConverter
 
FloatConverter - Class in net.sf.json.converter
 
FloatConverter() - Constructor for class net.sf.json.converter.FloatConverter
 
FloatConverter(float) - Constructor for class net.sf.json.converter.FloatConverter
 
fromArray(Object[]) - Static method in class net.sf.json.JSONArray
Creates a JSONArray from a java array.
fromBean(Object) - Static method in class net.sf.json.JSONObject
Creates a JSONObject from a POJO.
fromCollection(Collection) - Static method in class net.sf.json.JSONArray
Creates a JSONArray from a Collection.
fromJSONTokener(JSONTokener) - Static method in class net.sf.json.JSONArray
Creates a JSONArray from a JSONTokener.
fromJSONTokener(JSONTokener) - Static method in class net.sf.json.JSONObject
Constructs a JSONObject from a JSONTokener.
fromMap(Map) - Static method in class net.sf.json.JSONObject
Creates a JSONObject from a map.
fromObject(Object) - Static method in class net.sf.json.JSONArray
Creates a JSONArray.
fromObject(Object) - Static method in class net.sf.json.JSONObject
Creates a JSONObject.
fromString(String) - Static method in class net.sf.json.JSONArray
Constructs a JSONArray from a string in JSON format.
fromString(String) - Static method in class net.sf.json.JSONObject
Constructs a JSONObject from a string in JSON format.
FUNCTION - Static variable in interface net.sf.json.JSONTypes
 

G

get(int) - Method in class net.sf.json.JSONArray
Get the object value associated with an index.
get(String) - Method in class net.sf.json.JSONDynaBean
 
get(String, int) - Method in class net.sf.json.JSONDynaBean
 
get(String, String) - Method in class net.sf.json.JSONDynaBean
 
get(String) - Method in class net.sf.json.JSONObject
Get the value object associated with a key.
getBoolean(int) - Method in class net.sf.json.JSONArray
Get the boolean value associated with an index.
getBoolean(String) - Method in class net.sf.json.JSONObject
Get the boolean value associated with a key.
getConverterFor(Class) - Static method in class net.sf.json.converter.ConverterRegistry
 
getDefaultValue() - Method in class net.sf.json.converter.BooleanArrayConverter
 
getDefaultValue() - Method in class net.sf.json.converter.BooleanObjectArrayConverter
 
getDefaultValue() - Method in class net.sf.json.converter.ByteArrayConverter
 
getDefaultValue() - Method in class net.sf.json.converter.CharArrayConverter
 
getDefaultValue() - Method in class net.sf.json.converter.CharObjectArrayConverter
 
getDefaultValue() - Method in class net.sf.json.converter.DoubleArrayConverter
 
getDefaultValue() - Method in class net.sf.json.converter.FloatArrayConverter
 
getDefaultValue() - Method in class net.sf.json.converter.IntArrayConverter
 
getDefaultValue() - Method in class net.sf.json.converter.LongArrayConverter
 
getDefaultValue() - Method in class net.sf.json.converter.NumberConverter
 
getDefaultValue() - Method in class net.sf.json.converter.ShortArrayConverter
 
getDimensions(Class) - Method in class net.sf.json.converter.AbstractArrayConverter
Returns the number of dimensions in an array class.
getDimensions(Class) - Method in class net.sf.json.converter.NumberArrayConverter
 
getDimensions(Class) - Static method in class net.sf.json.JSONUtils
 
getDouble(int) - Method in class net.sf.json.JSONArray
Get the double value associated with an index.
getDouble(String) - Method in class net.sf.json.JSONObject
Get the double value associated with a key.
getDynaClass() - Method in class net.sf.json.JSONDynaBean
 
getDynaProperties() - Method in class net.sf.json.JSONDynaClass
 
getDynaProperty(String) - Method in class net.sf.json.JSONDynaBean
 
getDynaProperty(String) - Method in class net.sf.json.JSONDynaClass
 
getFunctionParams(String) - Static method in class net.sf.json.JSONUtils
Returns the params of a function literal.
getGroupIfMatches(String, int) - Method in class net.sf.json.JdkRegexpMatcher
 
getGroupIfMatches(String, int) - Method in class net.sf.json.Perl5RegexpMatcher
 
getGroupIfMatches(String, int) - Method in interface net.sf.json.RegexpMatcher
 
getInnerComponentType(Class) - Static method in class net.sf.json.converter.ConverterRegistry
 
getInnerComponentType(Class) - Static method in class net.sf.json.JSONUtils
 
getInstance() - Static method in class net.sf.json.JSONNull
Returns the singleton instance of JSONNull
getInt(int) - Method in class net.sf.json.JSONArray
Get the int value associated with an index.
getInt(String) - Method in class net.sf.json.JSONObject
Get the int value associated with a key.
getIntegerValue(String) - Method in class net.sf.json.converter.AbstractIntegerConverter
Trims the String from the begining to the first "."
getJSONArray(int) - Method in class net.sf.json.JSONArray
Get the JSONArray associated with an index.
getJSONArray(String) - Method in class net.sf.json.JSONObject
Get the JSONArray value associated with a key.
getJsonBeanClass() - Method in class net.sf.json.JSONDynaClass
 
getJSONObject(int) - Method in class net.sf.json.JSONArray
Get the JSONObject associated with an index.
getJSONObject(String) - Method in class net.sf.json.JSONObject
Get the JSONObject value associated with a key.
getJSONProperties(JSONObject) - Static method in class net.sf.json.JSONUtils
Creates a Map with all the properties of the JSONObject.
getJSONType(Object) - Static method in class net.sf.json.JSONUtils
Returns the JSON type.
getLong(int) - Method in class net.sf.json.JSONArray
Get the long value associated with an index.
getLong(String) - Method in class net.sf.json.JSONObject
Get the long value associated with a key.
getName() - Method in class net.sf.json.JSONDynaClass
 
getParams() - Method in class net.sf.json.JSONFunction
Returns the parameters of this function.
getProperties(JSONObject) - Static method in class net.sf.json.JSONUtils
Creates a Map with all the properties of the JSONObject.
getString(int) - Method in class net.sf.json.JSONArray
Get the string associated with an index.
getString(String) - Method in class net.sf.json.JSONObject
Get the string associated with a key.
getText() - Method in class net.sf.json.JSONFunction
Reeturns the text of this function.
getTypeClass(Object) - Static method in class net.sf.json.JSONUtils
Returns the JSON type.

H

has(String) - Method in class net.sf.json.JSONObject
Determine if the JSONObject contains a specific key.
hashCode() - Method in class net.sf.json.JSONNull
 

I

IntArrayConverter - Class in net.sf.json.converter
Converts an array to a int[].
IntArrayConverter() - Constructor for class net.sf.json.converter.IntArrayConverter
 
IntArrayConverter(int) - Constructor for class net.sf.json.converter.IntArrayConverter
 
IntConverter - Class in net.sf.json.converter
 
IntConverter() - Constructor for class net.sf.json.converter.IntConverter
 
IntConverter(int) - Constructor for class net.sf.json.converter.IntConverter
 
INTEGER - Static variable in interface net.sf.json.JSONTypes
 
isArray(Object) - Static method in class net.sf.json.JSONUtils
Tests if obj is an array or Collection.
isBoolean(Object) - Static method in class net.sf.json.JSONUtils
Tests if obj is a Boolean or primitive boolean
isDecimal(Class) - Method in class net.sf.json.converter.AbstractPrimitiveConverter
If the class type represents a decimal.
isDynaAssignable(Class, Class) - Method in class net.sf.json.JSONDynaBean
 
isEmpty() - Method in class net.sf.json.JSONObject
 
isFunction(Object) - Static method in class net.sf.json.JSONUtils
Tests if obj is javaScript function.
isFunctionHeader(Object) - Static method in class net.sf.json.JSONUtils
Tests if obj is javaScript function header.
isInteger(Class) - Method in class net.sf.json.converter.AbstractPrimitiveConverter
If the class type represents an integer.
isJDK13() - Static method in class net.sf.json.JSONUtils
 
isNull(Object) - Static method in class net.sf.json.JSONUtils
Tests if the obj is a javaScript null.
isNullObject() - Method in class net.sf.json.JSONObject
Returs if this object is a null JSONObject.
isNumber(Object) - Static method in class net.sf.json.JSONUtils
Tests if obj is a primitive number or wrapper.
isObject(Object) - Static method in class net.sf.json.JSONUtils
Tests if obj is not a boolean, number, string or array.
isString(Object) - Static method in class net.sf.json.JSONUtils
Tests if obj is a String or a char
isUseDefault() - Method in class net.sf.json.converter.AbstractArrayConverter
 
isUseDefault() - Method in class net.sf.json.converter.AbstractPrimitiveConverter
 
isUseDefault() - Method in class net.sf.json.converter.NumberArrayConverter
 
isUseDefault() - Method in class net.sf.json.converter.NumberConverter
 

J

JdkRegexpMatcher - Class in net.sf.json
 
JdkRegexpMatcher(String) - Constructor for class net.sf.json.JdkRegexpMatcher
 
join(String) - Method in class net.sf.json.JSONArray
Make a string from the contents of this JSONArray.
JSONArray - Class in net.sf.json
A JSONArray is an ordered sequence of values.
JSONArray() - Constructor for class net.sf.json.JSONArray
Construct an empty JSONArray.
JSONArray(boolean[]) - Constructor for class net.sf.json.JSONArray
Construct a JSONArray from an boolean[].
JSONArray(byte[]) - Constructor for class net.sf.json.JSONArray
Construct a JSONArray from an byte[].
JSONArray(char[]) - Constructor for class net.sf.json.JSONArray
Construct a JSONArray from an char[].
JSONArray(Collection) - Constructor for class net.sf.json.JSONArray
Construct a JSONArray from a Collection.
JSONArray(double[]) - Constructor for class net.sf.json.JSONArray
Construct a JSONArray from an double[].
JSONArray(float[]) - Constructor for class net.sf.json.JSONArray
Construct a JSONArray from an float[].
JSONArray(int[]) - Constructor for class net.sf.json.JSONArray
Construct a JSONArray from an int[].
JSONArray(JSONTokener) - Constructor for class net.sf.json.JSONArray
Construct a JSONArray from a JSONTokener.
JSONArray(long[]) - Constructor for class net.sf.json.JSONArray
Construct a JSONArray from an long[].
JSONArray(Object[]) - Constructor for class net.sf.json.JSONArray
Construct a JSONArray from an Object[].
JSONArray(short[]) - Constructor for class net.sf.json.JSONArray
Construct a JSONArray from an short[].
JSONArray(String) - Constructor for class net.sf.json.JSONArray
Construct a JSONArray from a source JSON text.
jsonBeanClass - Variable in class net.sf.json.JSONDynaClass
 
JSONBuilder - Class in net.sf.json
JSONBuilder provides a quick and convenient way of producing JSON text.
JSONBuilder(Writer) - Constructor for class net.sf.json.JSONBuilder
Make a fresh JSONBuilder.
JSONDynaBean - Class in net.sf.json
 
JSONDynaBean() - Constructor for class net.sf.json.JSONDynaBean
 
JSONDynaClass - Class in net.sf.json
 
JSONDynaClass(String, Class, Map) - Constructor for class net.sf.json.JSONDynaClass
 
JSONException - Exception in net.sf.json
The JSONException is thrown by the JSON.org classes then things are amiss.
JSONException() - Constructor for exception net.sf.json.JSONException
 
JSONException(String) - Constructor for exception net.sf.json.JSONException
 
JSONException(String, Throwable) - Constructor for exception net.sf.json.JSONException
 
JSONException(Throwable) - Constructor for exception net.sf.json.JSONException
 
JSONFunction - Class in net.sf.json
JSONFunction represents a javaScript function's text.
JSONFunction(String) - Constructor for class net.sf.json.JSONFunction
Constructs a JSONFunction with no parameters.
JSONFunction(String[], String) - Constructor for class net.sf.json.JSONFunction
Constructs a JSONFunction with parameters.
JSONNull - Class in net.sf.json
JSONObject.NULL is equivalent to the value that JavaScript calls null, whilst Java's null is equivalent to the value that JavaScript calls undefined.
JSONObject - Class in net.sf.json
A JSONObject is an unordered collection of name/value pairs.
JSONObject() - Constructor for class net.sf.json.JSONObject
Construct an empty JSONObject.
JSONObject(boolean) - Constructor for class net.sf.json.JSONObject
Creates a JSONObject that is null.
JSONObject(JSONObject, String[]) - Constructor for class net.sf.json.JSONObject
Construct a JSONObject from a subset of another JSONObject.
JSONObject(JSONTokener) - Constructor for class net.sf.json.JSONObject
Construct a JSONObject from a JSONTokener.
JSONObject(Map) - Constructor for class net.sf.json.JSONObject
Construct a JSONObject from a Map.
JSONObject(Object, String[]) - Constructor for class net.sf.json.JSONObject
Construct a JSONObject from an Object, using reflection to find the public members.
JSONObject(String) - Constructor for class net.sf.json.JSONObject
Construct a JSONObject from a string.
JSONString - Interface in net.sf.json
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 net.sf.json
JSONStringer provides a quick and convenient way of producing JSON text.
JSONStringer() - Constructor for class net.sf.json.JSONStringer
Make a fresh JSONStringer.
JSONTokener - Class in net.sf.json
A JSONTokener takes a source string and extracts characters and tokens from it.
JSONTokener(String) - Constructor for class net.sf.json.JSONTokener
Construct a JSONTokener from a string.
JSONTypes - Interface in net.sf.json
 
JSONUtils - Class in net.sf.json
Provides useful methods on java objects.

K

key(String) - Method in class net.sf.json.JSONBuilder
Append a key.
keys() - Method in class net.sf.json.JSONObject
Get an enumeration of the keys of the JSONObject.

L

length() - Method in class net.sf.json.JSONArray
Get the number of elements in the JSONArray, included nulls.
length() - Method in class net.sf.json.JSONObject
Get the number of keys stored in the JSONObject.
length() - Method in class net.sf.json.JSONTokener
 
LongArrayConverter - Class in net.sf.json.converter
Converts an array to a long[].
LongArrayConverter() - Constructor for class net.sf.json.converter.LongArrayConverter
 
LongArrayConverter(long) - Constructor for class net.sf.json.converter.LongArrayConverter
 
LongConverter - Class in net.sf.json.converter
 
LongConverter() - Constructor for class net.sf.json.converter.LongConverter
 
LongConverter(long) - Constructor for class net.sf.json.converter.LongConverter
 

M

matches(String) - Method in class net.sf.json.JdkRegexpMatcher
 
matches(String) - Method in class net.sf.json.JSONTokener
 
matches(String) - Method in class net.sf.json.Perl5RegexpMatcher
 
matches(String) - Method in interface net.sf.json.RegexpMatcher
 
mode - Variable in class net.sf.json.JSONBuilder
The current mode.
more() - Method in class net.sf.json.JSONTokener
Determine if the source string still contains characters that next() can consume.

N

name - Variable in class net.sf.json.JSONDynaClass
 
names() - Method in class net.sf.json.JSONObject
Produce a JSONArray containing the names of the elements of this JSONObject.
net.sf.json - package net.sf.json
 
net.sf.json.converter - package net.sf.json.converter
 
net.sf.json.xml - package net.sf.json.xml
 
newInstance() - Method in class net.sf.json.JSONDynaClass
 
next() - Method in class net.sf.json.JSONTokener
Get the next character in the source string.
next(char) - Method in class net.sf.json.JSONTokener
Consume the next character, and check that it matches a specified character.
next(int) - Method in class net.sf.json.JSONTokener
Get the next n characters.
nextClean() - Method in class net.sf.json.JSONTokener
Get the next char in the string, skipping whitespace and comments (slashslash, slashstar, and hash).
nextString(char) - Method in class net.sf.json.JSONTokener
Return the characters up to the next close quote character.
nextTo(char) - Method in class net.sf.json.JSONTokener
Get the text up but not including the specified character or the end of line, whichever comes first.
nextTo(String) - Method in class net.sf.json.JSONTokener
Get the text up but not including one of the specified delimeter characters or the end of line, whichever comes first.
nextValue() - Method in class net.sf.json.JSONTokener
Get the next value.
NUMBER - Static variable in interface net.sf.json.JSONTypes
 
NumberArrayConverter - Class in net.sf.json.converter
Converts an array to an array of subclass of Number.
NumberArrayConverter(Class) - Constructor for class net.sf.json.converter.NumberArrayConverter
 
NumberArrayConverter(Class, Number) - Constructor for class net.sf.json.converter.NumberArrayConverter
 
NumberConverter - Class in net.sf.json.converter
 
NumberConverter(Class) - Constructor for class net.sf.json.converter.NumberConverter
 
NumberConverter(Class, Number) - Constructor for class net.sf.json.converter.NumberConverter
 
numberToString(Number) - Static method in class net.sf.json.JSONUtils
Produce a string from a Number.

O

object() - Method in class net.sf.json.JSONBuilder
Begin appending a new object.
OBJECT - Static variable in interface net.sf.json.JSONTypes
 
opt(int) - Method in class net.sf.json.JSONArray
Get the optional object value associated with an index.
opt(String) - Method in class net.sf.json.JSONObject
Get an optional value associated with a key.
optBoolean(int) - Method in class net.sf.json.JSONArray
Get the optional boolean value associated with an index.
optBoolean(int, boolean) - Method in class net.sf.json.JSONArray
Get the optional boolean value associated with an index.
optBoolean(String) - Method in class net.sf.json.JSONObject
Get an optional boolean associated with a key.
optBoolean(String, boolean) - Method in class net.sf.json.JSONObject
Get an optional boolean associated with a key.
optDouble(int) - Method in class net.sf.json.JSONArray
Get the optional double value associated with an index.
optDouble(int, double) - Method in class net.sf.json.JSONArray
Get the optional double value associated with an index.
optDouble(String) - Method in class net.sf.json.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 net.sf.json.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.
optInt(int) - Method in class net.sf.json.JSONArray
Get the optional int value associated with an index.
optInt(int, int) - Method in class net.sf.json.JSONArray
Get the optional int value associated with an index.
optInt(String) - Method in class net.sf.json.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 net.sf.json.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 net.sf.json.JSONArray
Get the optional JSONArray associated with an index.
optJSONArray(String) - Method in class net.sf.json.JSONObject
Get an optional JSONArray associated with a key.
optJSONObject(int) - Method in class net.sf.json.JSONArray
Get the optional JSONObject associated with an index.
optJSONObject(String) - Method in class net.sf.json.JSONObject
Get an optional JSONObject associated with a key.
optLong(int) - Method in class net.sf.json.JSONArray
Get the optional long value associated with an index.
optLong(int, long) - Method in class net.sf.json.JSONArray
Get the optional long value associated with an index.
optLong(String) - Method in class net.sf.json.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 net.sf.json.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.
optString(int) - Method in class net.sf.json.JSONArray
Get the optional string value associated with an index.
optString(int, String) - Method in class net.sf.json.JSONArray
Get the optional string associated with an index.
optString(String) - Method in class net.sf.json.JSONObject
Get an optional string associated with a key.
optString(String, String) - Method in class net.sf.json.JSONObject
Get an optional string associated with a key.

P

parse(JSONTokener) - Static method in class net.sf.json.JSONFunction
Constructs a JSONFunction from a text representation
parse(String) - Static method in class net.sf.json.JSONFunction
Constructs a JSONFunction from a text representation
Perl5RegexpMatcher - Class in net.sf.json
 
Perl5RegexpMatcher(String) - Constructor for class net.sf.json.Perl5RegexpMatcher
 
properties - Variable in class net.sf.json.JSONDynaClass
 
put(boolean) - Method in class net.sf.json.JSONArray
Append a boolean value.
put(Collection) - Method in class net.sf.json.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 net.sf.json.JSONArray
Append a double value.
put(int) - Method in class net.sf.json.JSONArray
Append an int value.
put(int, boolean) - Method in class net.sf.json.JSONArray
Put or replace a boolean value in the JSONArray.
put(int, Collection) - Method in class net.sf.json.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 net.sf.json.JSONArray
Put or replace a double value.
put(int, int) - Method in class net.sf.json.JSONArray
Put or replace an int value.
put(int, long) - Method in class net.sf.json.JSONArray
Put or replace a long value.
put(int, Map) - Method in class net.sf.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONObject which is produced from a Map.
put(int, Object) - Method in class net.sf.json.JSONArray
Put or replace an object value in the JSONArray.
put(long) - Method in class net.sf.json.JSONArray
Append an long value.
put(Map) - Method in class net.sf.json.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 net.sf.json.JSONArray
Append an object value.
put(String, boolean) - Method in class net.sf.json.JSONObject
Put a key/boolean pair in the JSONObject.
put(String, Collection) - Method in class net.sf.json.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 net.sf.json.JSONObject
Put a key/double pair in the JSONObject.
put(String, int) - Method in class net.sf.json.JSONObject
Put a key/int pair in the JSONObject.
put(String, long) - Method in class net.sf.json.JSONObject
Put a key/long pair in the JSONObject.
put(String, Map) - Method in class net.sf.json.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 net.sf.json.JSONObject
Put a key/value pair in the JSONObject.
putOpt(String, Object) - Method in class net.sf.json.JSONObject
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null.

Q

quote(String) - Static method in class net.sf.json.JSONUtils
Produce a string in double quotes with backslash sequences in all the right places.

R

readArray(String) - Static method in class net.sf.json.xml.XMLSerializer
 
readObject(String) - Static method in class net.sf.json.xml.XMLSerializer
 
RegexpMatcher - Interface in net.sf.json
 
remove(String, String) - Method in class net.sf.json.JSONDynaBean
 
remove(String) - Method in class net.sf.json.JSONObject
Remove a name and its value, if present.
removeConverterFor(Class) - Static method in class net.sf.json.converter.ConverterRegistry
 
reset() - Method in class net.sf.json.JSONTokener
 
rowToJSONArray(JSONTokener) - Static method in class net.sf.json.CDL
Produce a JSONArray of strings from a row of comma delimited values.
rowToJSONObject(JSONArray, JSONTokener) - Static method in class net.sf.json.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 net.sf.json.CDL
Produce a comma delimited text row from a JSONArray.

S

set(String, int, Object) - Method in class net.sf.json.JSONDynaBean
 
set(String, Object) - Method in class net.sf.json.JSONDynaBean
 
set(String, String, Object) - Method in class net.sf.json.JSONDynaBean
 
setConverterFor(Class, Converter) - Static method in class net.sf.json.converter.ConverterRegistry
 
setDefaultValue(boolean) - Method in class net.sf.json.converter.BooleanArrayConverter
 
setDefaultValue(boolean) - Method in class net.sf.json.converter.BooleanObjectArrayConverter
 
setDefaultValue(byte) - Method in class net.sf.json.converter.ByteArrayConverter
 
setDefaultValue(char) - Method in class net.sf.json.converter.CharArrayConverter
 
setDefaultValue(char) - Method in class net.sf.json.converter.CharObjectArrayConverter
 
setDefaultValue(double) - Method in class net.sf.json.converter.DoubleArrayConverter
 
setDefaultValue(float) - Method in class net.sf.json.converter.FloatArrayConverter
 
setDefaultValue(int) - Method in class net.sf.json.converter.IntArrayConverter
 
setDefaultValue(long) - Method in class net.sf.json.converter.LongArrayConverter
 
setDefaultValue(Number) - Method in class net.sf.json.converter.NumberArrayConverter
 
setDefaultValue(Number) - Method in class net.sf.json.converter.NumberConverter
 
setDefaultValue(short) - Method in class net.sf.json.converter.ShortArrayConverter
 
setDynamicFormClass(JSONDynaClass) - Method in class net.sf.json.JSONDynaBean
 
setUseDefault(boolean) - Method in class net.sf.json.converter.AbstractArrayConverter
 
setUseDefault(boolean) - Method in class net.sf.json.converter.NumberArrayConverter
 
setUseDefault(boolean) - Method in class net.sf.json.converter.NumberConverter
 
ShortArrayConverter - Class in net.sf.json.converter
Converts an array to a short[].
ShortArrayConverter() - Constructor for class net.sf.json.converter.ShortArrayConverter
 
ShortArrayConverter(short) - Constructor for class net.sf.json.converter.ShortArrayConverter
 
ShortConverter - Class in net.sf.json.converter
 
ShortConverter() - Constructor for class net.sf.json.converter.ShortConverter
 
ShortConverter(short) - Constructor for class net.sf.json.converter.ShortConverter
 
skipPast(String) - Method in class net.sf.json.JSONTokener
Skip characters until past the requested string.
skipTo(char) - Method in class net.sf.json.JSONTokener
Skip characters until the next character is the requested character.
STRING - Static variable in interface net.sf.json.JSONTypes
 
syntaxError(String) - Method in class net.sf.json.JSONTokener
Make a JSONException to signal a syntax error.

T

testValidity(Object) - Static method in class net.sf.json.JSONUtils
Throw an exception if the object is an NaN or infinite number.
toArray(JSONArray) - Static method in class net.sf.json.JSONArray
Creates a java array from a JSONArray.
toArray(JSONArray, Class) - Static method in class net.sf.json.JSONArray
Creates a java array from a JSONArray.
toArray() - Method in class net.sf.json.JSONArray
Produce an Object[] with the contents of this JSONArray.
toBean(JSONObject) - Static method in class net.sf.json.JSONObject
Creates a JSONDynaBean from a JSONObject.
toBean(JSONObject, Class) - Static method in class net.sf.json.JSONObject
Creates a bean from a JSONObject, with a specific target class.
toJSONArray(String) - Static method in class net.sf.json.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 net.sf.json.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 net.sf.json.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 net.sf.json.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string using a supplied JSONArray as the source of element names.
toJSONArray(JSONArray) - Method in class net.sf.json.JSONObject
Produce a JSONArray containing the values of the members of this JSONObject.
toJSONObject(JSONArray) - Method in class net.sf.json.JSONArray
Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
toJSONString() - Method in interface net.sf.json.JSONString
The toJSONString method allows a class to produce its own JSON serialization.
toList(JSONArray) - Static method in class net.sf.json.JSONArray
Creates a List from a JSONArray.
toList(JSONArray, Class) - Static method in class net.sf.json.JSONArray
Creates a List from a JSONArray.
toObject(char[]) - Static method in class net.sf.json.JSONUtils
Converts an array of primitive chars to objects.
toString(JSONArray) - Static method in class net.sf.json.CDL
Produce a comma delimited text from a JSONArray of JSONObjects.
toString(JSONArray, JSONArray) - Static method in class net.sf.json.CDL
Produce a comma delimited text from a JSONArray of JSONObjects using a provided list of names.
toString() - Method in class net.sf.json.JSONArray
Make a JSON text of this JSONArray.
toString(int) - Method in class net.sf.json.JSONArray
Make a prettyprinted JSON text of this JSONArray.
toString() - Method in class net.sf.json.JSONDynaBean
 
toString() - Method in class net.sf.json.JSONDynaClass
 
toString() - Method in class net.sf.json.JSONFunction
Returns the string representation of this function.
toString() - Method in class net.sf.json.JSONNull
Get the "null" string value.
toString() - Method in class net.sf.json.JSONObject
Make a JSON text of this JSONObject.
toString(int) - Method in class net.sf.json.JSONObject
Make a prettyprinted JSON text of this JSONObject.
toString(int, int) - Method in class net.sf.json.JSONObject
Make a prettyprinted JSON text of this JSONObject.
toString() - Method in class net.sf.json.JSONStringer
Return the JSON text.
toString() - Method in class net.sf.json.JSONTokener
Make a printable string of this JSONTokener.
type - Variable in class net.sf.json.JSONDynaClass
 

V

value(boolean) - Method in class net.sf.json.JSONBuilder
Append either the value true or the value false.
value(double) - Method in class net.sf.json.JSONBuilder
Append a double value.
value(long) - Method in class net.sf.json.JSONBuilder
Append a long value.
value(Object) - Method in class net.sf.json.JSONBuilder
Append an object value.
valueToString(Object) - Static method in class net.sf.json.JSONUtils
Make a JSON text of an Object value.
valueToString(Object, int, int) - Static method in class net.sf.json.JSONUtils
Make a prettyprinted JSON text of an object value.

W

write(Writer) - Method in class net.sf.json.JSONArray
Write the contents of the JSONArray as JSON text to a writer.
write(Writer) - Method in class net.sf.json.JSONObject
Write the contents of the JSONObject as JSON text to a writer.
write(JSONArray) - Static method in class net.sf.json.xml.XMLSerializer
 
write(JSONObject) - Static method in class net.sf.json.xml.XMLSerializer
 
writer - Variable in class net.sf.json.JSONBuilder
The writer that will receive the output.

X

XMLSerializer - Class in net.sf.json.xml
 
XMLSerializer() - Constructor for class net.sf.json.xml.XMLSerializer
 

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

Copyright © 2006 null. All Rights Reserved.