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

A

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
 

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
 
contains(String, String) - Method in class net.sf.json.JSONDynaBean
 

D

dehexchar(char) - Static method in class net.sf.json.JSONTokener
Get the hex value of a character (base16).
doubleToString(double) - Static method in class net.sf.json.JSONUtils
Produce a string from a double.
DynaBeanToBeanMorpher - Class in net.sf.json.util
Converts a DynaBean into an specific bean.
DynaBeanToBeanMorpher(Class, MorpherRegistry) - Constructor for class net.sf.json.util.DynaBeanToBeanMorpher
 
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.JSONDynaBean
 
equals(Object) - Method in class net.sf.json.JSONDynaClass
 
equals(Object) - Method in class net.sf.json.JSONFunction
 
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
 
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.
fromDynaBean(DynaBean) - Static method in class net.sf.json.JSONObject
Creates a JSONObject from a DynaBean.
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.
getDimensions(JSONArray) - Static method in class net.sf.json.JSONUtils
Returns the number of dimensions suited for a java array.
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.regexp.JdkRegexpMatcher
 
getGroupIfMatches(String, int) - Method in class net.sf.json.regexp.Perl5RegexpMatcher
 
getGroupIfMatches(String, int) - Method in interface net.sf.json.regexp.RegexpMatcher
Returns the specified group if the string matches the Pattern.
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.
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.
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.
getMatcher(String) - Static method in class net.sf.json.regexp.RegexpUtils
Returns a RegexpMatcher that works in a specific environment.
getMorpherRegistry() - Static method in class net.sf.json.JSONUtils
 
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.JSONDynaBean
 
hashCode() - Method in class net.sf.json.JSONDynaClass
 
hashCode() - Method in class net.sf.json.JSONFunction
 
hashCode() - Method in class net.sf.json.JSONNull
 

I

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
isDynaAssignable(Class, Class) - Method in class net.sf.json.JSONDynaBean
 
isEmpty() - Method in class net.sf.json.JSONArray
 
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.
isJDK13() - Static method in class net.sf.json.regexp.RegexpUtils
Queries the environment for the supported JDK version.
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
iterator() - Method in class net.sf.json.JSONArray
Returns an Iterator for this JSONArray

J

JdkRegexpMatcher - Class in net.sf.json.regexp
JDK 1.4+ RegexpMatcher implementation.
JdkRegexpMatcher(String) - Constructor for class net.sf.json.regexp.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(JSONArray) - Constructor for class net.sf.json.JSONArray
Construct a JSONArray from another JSONArray.
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
JSONNull 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(DynaBean) - Constructor for class net.sf.json.JSONObject
Construct a JSONObject from a DynaBean.
JSONObject(JSONObject) - Constructor for class net.sf.json.JSONObject
Construct a JSONObject from a subset of another JSONObject.
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
 

M

matches(String) - Method in class net.sf.json.JSONTokener
 
matches(String) - Method in class net.sf.json.regexp.JdkRegexpMatcher
 
matches(String) - Method in class net.sf.json.regexp.Perl5RegexpMatcher
 
matches(String) - Method in interface net.sf.json.regexp.RegexpMatcher
Returns true is the string macthes the Pattern.
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.
morph(Object) - Method in class net.sf.json.util.DynaBeanToBeanMorpher
 
morphsTo() - Method in class net.sf.json.util.DynaBeanToBeanMorpher
 

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
the core of the library
net.sf.json.regexp - package net.sf.json.regexp
Regexp utilities
net.sf.json.util - package net.sf.json.util
Miscelaneous utilities
net.sf.json.xml - package net.sf.json.xml
Utilities for trasforming JSON to XML and back.
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
 
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.regexp
Jakarta-oro RegexpMatcher Implementation.
Perl5RegexpMatcher(String) - Constructor for class net.sf.json.regexp.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
Creates a JSONArray from a XML string.
readObject(String) - Static method in class net.sf.json.xml.XMLSerializer
Creates a JSONObject from a XML string.
RegexpMatcher - Interface in net.sf.json.regexp
Abstraction for regexp handling.
RegexpUtils - Class in net.sf.json.regexp
Convenience utility for working withRegexpMatcher.
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.
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
 
setDynamicFormClass(JSONDynaClass) - Method in class net.sf.json.JSONDynaBean
 
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
 
supports(Class) - Method in class net.sf.json.util.DynaBeanToBeanMorpher
 
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(JSONArray, Class, Map) - 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.
toBean(JSONObject, Class, Map) - 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.
toList(JSONArray, Class, Map) - 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(int, 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
Writes a JSONArray into a XML string.
write(JSONObject) - Static method in class net.sf.json.xml.XMLSerializer
Writes a JSONObject into a XML string.
writer - Variable in class net.sf.json.JSONBuilder
The writer that will receive the output.

X

XMLSerializer - Class in net.sf.json.xml
Utility class for transforming JSON to XML an back.
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.