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

A

accumulate(String, boolean) - Method in class net.sf.json.JSONObject
Accumulate values under a key.
accumulate(String, double) - Method in class net.sf.json.JSONObject
Accumulate values under a key.
accumulate(String, int) - Method in class net.sf.json.JSONObject
Accumulate values under a key.
accumulate(String, long) - Method in class net.sf.json.JSONObject
Accumulate values under a key.
accumulate(String, Object) - Method in class net.sf.json.JSONObject
Accumulate values under a key.
accumulateAll(Map) - Method in class net.sf.json.JSONObject
 
add(int, Object) - Method in class net.sf.json.JSONArray
 
add(Object) - Method in class net.sf.json.JSONArray
 
addAll(Collection) - Method in class net.sf.json.JSONArray
 
addAll(int, Collection) - Method in class net.sf.json.JSONArray
 
addJsonEventListener(JsonEventListener) - Method in class net.sf.json.JsonConfig
Registers a listener for Json events.
addNamespace(String, String) - Method in class net.sf.json.xml.XMLSerializer
Adds a namespace declaration to the root element.
addNamespace(String, String, String) - Method in class net.sf.json.xml.XMLSerializer
Adds a namespace declaration to an element.
addString(String) - Method in class net.sf.json.JSONArray
Adds a String without performing any conversion on it.
array() - Method in class net.sf.json.util.JSONBuilder
Begin appending a new array.
ARRAY - Static variable in interface net.sf.json.xml.JSONTypes
 
assertEquals(JSON, JSON) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSON values are equal.
assertEquals(JSONArray, JSONArray) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSONArrays are equal.
assertEquals(JSONArray, String) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSONArrays are equal.
assertEquals(JSONFunction, String) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSONFunctions are equal.
assertEquals(JSONNull, String) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSONNulls are equal.
assertEquals(JSONObject, JSONObject) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSONObjects are equal.
assertEquals(JSONObject, String) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSONObjects are equal.
assertEquals(String, JSON, JSON) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSON values are equal.
assertEquals(String, JSONArray) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSONArrays are equal.
assertEquals(String, JSONArray, JSONArray) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSONArrays are equal.
assertEquals(String, JSONArray, String) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSONArrays are equal.
assertEquals(String, JSONFunction) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSONFunctions are equal.
assertEquals(String, JSONFunction, String) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSONFunctions are equal.
assertEquals(String, JSONNull) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSONNulls are equal.
assertEquals(String, JSONNull, String) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSONNulls are equal.
assertEquals(String, JSONObject) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSONObjects are equal.
assertEquals(String, JSONObject, JSONObject) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSONObjects are equal.
assertEquals(String, JSONObject, String) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSONObjects are equal.
assertEquals(String, String, JSONArray) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSONArrays are equal.
assertEquals(String, String, JSONFunction) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSONFunctions are equal.
assertEquals(String, String, JSONNull) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSONNulls are equal.
assertEquals(String, String, JSONObject) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSONObjects are equal.
assertJsonEquals(String, String) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSON strings are equal.
assertJsonEquals(String, String, String) - Static method in class net.sf.json.test.JSONAssert
Asserts that two JSON strings are equal.
assertNotNull(JSON) - Static method in class net.sf.json.test.JSONAssert
Asserts that a JSON value is not null.
assertNotNull(String, JSON) - Static method in class net.sf.json.test.JSONAssert
Asserts that a JSON value is not null.
assertNull(JSON) - Static method in class net.sf.json.test.JSONAssert
Asserts that a JSON value is null.
assertNull(String, JSON) - Static method in class net.sf.json.test.JSONAssert
Asserts that a JSON value is null.

B

back() - Method in class net.sf.json.util.JSONTokener
Back up one character.
BOOLEAN - Static variable in interface net.sf.json.xml.JSONTypes
 

C

CAMEL_CASE - Static variable in class net.sf.json.util.JavaIdentifierTransformer
CamelCase transformer 'camel case' => 'camelCase'
clear() - Method in class net.sf.json.JSONArray
 
clear() - Method in class net.sf.json.JSONObject
 
clearJsonBeanProcessors() - Method in class net.sf.json.JsonConfig
Removes all registered JsonBeanProcessors.
clearJsonEventListeners() - Method in class net.sf.json.JsonConfig
Removes all registered listener for Json Events.
clearJsonValueProcessors() - Method in class net.sf.json.JsonConfig
Removes all registered JsonValueProcessors.
clearNamespaces() - Method in class net.sf.json.xml.XMLSerializer
Removes all namespaces declarations (from root an elements).
clearNamespaces(String) - Method in class net.sf.json.xml.XMLSerializer
Removes all namespace declarations from an element.
COMMENTS - Static variable in class net.sf.json.util.WebHijackPreventionStrategy
Wraps the string with /* *\/
compareTo(Object) - Method in class net.sf.json.JSONArray
 
compareTo(Object) - Method in class net.sf.json.JSONObject
 
contains(Object) - Method in class net.sf.json.JSONArray
 
containsAll(Collection) - Method in class net.sf.json.JSONArray
 
containsKey(Object) - Method in class net.sf.json.JSONObject
 
containsValue(Object) - Method in class net.sf.json.JSONObject
 
convertToJavaIdentifier(String) - Static method in class net.sf.json.util.JSONUtils
Transformes the string into a valid Java Identifier.
CycleDetectionStrategy - Class in net.sf.json.util
Base class for cycle detection in a hierarchy.
CycleDetectionStrategy() - Constructor for class net.sf.json.util.CycleDetectionStrategy
 

D

dehexchar(char) - Static method in class net.sf.json.util.JSONTokener
Get the hex value of a character (base16).
disableEventTriggering() - Method in class net.sf.json.JsonConfig
Disables event triggering when building.
DOUBLE_QUOTE - Static variable in class net.sf.json.util.JSONUtils
Constant for char "
doubleToString(double) - Static method in class net.sf.json.util.JSONUtils
Produce a string from a double.

E

element(boolean) - Method in class net.sf.json.JSONArray
Append a boolean value.
element(Collection) - Method in class net.sf.json.JSONArray
Append a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
element(double) - Method in class net.sf.json.JSONArray
Append a double value.
element(int) - Method in class net.sf.json.JSONArray
Append an int value.
element(int, boolean) - Method in class net.sf.json.JSONArray
Put or replace a boolean value in the JSONArray.
element(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.
element(int, double) - Method in class net.sf.json.JSONArray
Put or replace a double value.
element(int, int) - Method in class net.sf.json.JSONArray
Put or replace an int value.
element(int, long) - Method in class net.sf.json.JSONArray
Put or replace a long value.
element(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.
element(int, Object) - Method in class net.sf.json.JSONArray
Put or replace an object value in the JSONArray.
element(int, String) - Method in class net.sf.json.JSONArray
Put or replace a String value in the JSONArray.
element(JSONNull) - Method in class net.sf.json.JSONArray
Append an JSON value.
element(JSONObject) - Method in class net.sf.json.JSONArray
Append an JSON value.
element(long) - Method in class net.sf.json.JSONArray
Append an long value.
element(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.
element(Object) - Method in class net.sf.json.JSONArray
Append an object value.
element(String) - Method in class net.sf.json.JSONArray
Append a String value.
element(String, boolean) - Method in class net.sf.json.JSONObject
Put a key/boolean pair in the JSONObject.
element(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.
element(String, double) - Method in class net.sf.json.JSONObject
Put a key/double pair in the JSONObject.
element(String, int) - Method in class net.sf.json.JSONObject
Put a key/int pair in the JSONObject.
element(String, long) - Method in class net.sf.json.JSONObject
Put a key/long pair in the JSONObject.
element(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.
element(String, Object) - Method in class net.sf.json.JSONObject
Put a key/value pair in the JSONObject.
elementOpt(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.
enableEventTriggering() - Method in class net.sf.json.JsonConfig
Enables event triggering when building.
endArray() - Method in class net.sf.json.util.JSONBuilder
End an array.
endObject() - Method in class net.sf.json.util.JSONBuilder
End an object.
entrySet() - Method in class net.sf.json.JSONObject
 
EnumMorpher - Class in net.sf.json.util
 
EnumMorpher(Class) - Constructor for class net.sf.json.util.EnumMorpher
 
equals(Object) - Method in class net.sf.json.JSONArray
 
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.
equals(Object) - Method in class net.sf.json.JSONObject
 

F

findJsonBeanProcessor(Class) - Method in class net.sf.json.JsonConfig
Finds a JsonBeanProcessor registered to the target class.
findJsonValueProcessor(Class) - Method in class net.sf.json.JsonConfig
Finds a JsonValueProcessor registered to the target type.
findJsonValueProcessor(Class, Class, String) - Method in class net.sf.json.JsonConfig
Finds a JsonValueProcessor.
findJsonValueProcessor(Class, String) - Method in class net.sf.json.JsonConfig
Finds a JsonValueProcessor.
FLOAT - Static variable in interface net.sf.json.xml.JSONTypes
 
fromArray(Object[]) - Static method in class net.sf.json.JSONArray
Deprecated. use JSONArray.fromObject(Object) instead
fromBean(Object) - Static method in class net.sf.json.JSONObject
Deprecated. use JSONObject.fromObject(Object) instead
fromCollection(Collection) - Static method in class net.sf.json.JSONArray
Deprecated. use JSONArray.fromObject(Object) instead
fromDynaBean(DynaBean) - Static method in class net.sf.json.JSONObject
Deprecated. use JSONObject.fromObject(Object) instead
fromJSONObject(JSONObject) - Static method in class net.sf.json.JSONObject
Deprecated. use JSONObject.fromObject(Object) instead
fromJSONString(JSONString) - Static method in class net.sf.json.JSONArray
Deprecated. use JSONArray.fromObject(Object) instead
fromJSONString(JSONString) - Static method in class net.sf.json.JSONObject
Deprecated. use JSONObject.fromObject(Object) instead
fromMap(Map) - Static method in class net.sf.json.JSONObject
Deprecated. use JSONObject.fromObject(Object) instead
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
Deprecated. use JSONArray.fromObject(Object) instead
fromString(String) - Static method in class net.sf.json.JSONObject
Deprecated. use JSONObject.fromObject(Object) instead
FUNCTION - Static variable in interface net.sf.json.xml.JSONTypes
 

G

get(int) - Method in class net.sf.json.JSONArray
Get the object value associated with an index.
get(Object) - Method in class net.sf.json.JSONObject
 
get(String) - Method in class net.sf.json.JSONObject
Get the value object associated with a key.
getArrayMode() - Method in class net.sf.json.JSONSerializer
Returns the current array mode conversion
getArrayName() - Method in class net.sf.json.xml.XMLSerializer
Returns the name used for JSONArray.
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.
getClassMap() - Method in class net.sf.json.JSONSerializer
Returns the current attribute/class Map
getCycleDetectionStrategy() - Method in class net.sf.json.JsonConfig
Returns the configured CycleDetectionStrategy.
getDimensions(JSONArray) - Static method in class net.sf.json.JSONArray
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.
getElementName() - Method in class net.sf.json.xml.XMLSerializer
Returns the name used for JSONArray elements.
getExcludes() - Method in class net.sf.json.JsonConfig
Returns the configured properties for exclusion.
getExpandableProperties() - Method in class net.sf.json.xml.XMLSerializer
Returns a list of properties to be expanded from child to parent.
getFunctionParams(String) - Static method in class net.sf.json.util.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.util.JSONUtils
Returns the inner-most component type of an Array.
getInstance() - Static method in class net.sf.json.JsonConfig
Returns the singleton instance.
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.
getJavaIdentifierTransformer() - Method in class net.sf.json.JsonConfig
Returns the configured JavaIdentifierTransformer.
getJavaIdentifierTransformer() - Static method in class net.sf.json.util.JSONUtils
Deprecated. use JsonConfig.getJavaIdentifierTransformer
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.
getJsonEventListeners() - Method in class net.sf.json.JsonConfig
Returns a list of registered listeners for Json events.
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.
getMergedExcludes() - Method in class net.sf.json.JsonConfig
Returns a set of default excludes with user-defined excludes.
getMorpherRegistry() - Static method in class net.sf.json.util.JSONUtils
Returns the singleton MorpherRegistry.
getObjectName() - Method in class net.sf.json.xml.XMLSerializer
Returns the name used for JSONArray.
getParams() - Method in class net.sf.json.JSONFunction
Returns the parameters of this function.
getProperties(JSONObject) - Static method in class net.sf.json.util.JSONUtils
Creates a Map with all the properties of the JSONObject.
getProperty(String) - Method in class net.sf.json.groovy.JsonGroovyBuilder
 
getRootClass() - Method in class net.sf.json.JSONSerializer
Returns the current root Class.
getRootName() - Method in class net.sf.json.xml.XMLSerializer
Returns the name used for the root element.
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.util.JSONUtils
Returns the JSON type.
getWebHijackPreventionStrategy() - Static method in class net.sf.json.util.WebUtils
Returns the configured WebHijackPreventionStrategy.

H

handleRepeatedReferenceAsArray(Object) - Method in class net.sf.json.util.CycleDetectionStrategy
Handle a repeated reference
Must return a valid JSONArray or null.
handleRepeatedReferenceAsObject(Object) - Method in class net.sf.json.util.CycleDetectionStrategy
Handle a repeated reference
Must return a valid JSONObject or null.
has(String) - Method in class net.sf.json.JSONObject
Determine if the JSONObject contains a specific key.
hashCode() - Method in class net.sf.json.JSONArray
 
hashCode() - Method in class net.sf.json.JSONFunction
 
hashCode() - Method in class net.sf.json.JSONNull
 
hashCode() - Method in class net.sf.json.JSONObject
 
hashCode(Object) - Static method in class net.sf.json.util.JSONUtils
Returns the hashcode of value.

I

indexOf(Object) - Method in class net.sf.json.JSONArray
 
INFINITE_LOOP - Static variable in class net.sf.json.util.WebHijackPreventionStrategy
Prepends "while(1);"
INTEGER - Static variable in interface net.sf.json.xml.JSONTypes
 
invokeMethod(String, Object) - Method in class net.sf.json.groovy.JsonGroovyBuilder
 
isArray() - Method in interface net.sf.json.JSON
Returns true if this object is a JSONArray, false otherwise.
isArray() - Method in class net.sf.json.JSONArray
 
isArray() - Method in class net.sf.json.JSONNull
 
isArray() - Method in class net.sf.json.JSONObject
 
isArray(Class) - Static method in class net.sf.json.util.JSONUtils
Tests if a Class represents an array or Collection.
isArray(Object) - Static method in class net.sf.json.util.JSONUtils
Tests if obj is an array or Collection.
isBoolean(Class) - Static method in class net.sf.json.util.JSONUtils
Tests if Class represents a Boolean or primitive boolean
isBoolean(Object) - Static method in class net.sf.json.util.JSONUtils
Tests if obj is a Boolean or primitive boolean
isDouble(Class) - Static method in class net.sf.json.util.JSONUtils
Tests if Class represents a primitive double or wrapper.
isEmpty() - Method in interface net.sf.json.JSON
Returns true if this object has no elements or keys.
isEmpty() - Method in class net.sf.json.JSONArray
 
isEmpty() - Method in class net.sf.json.JSONNull
 
isEmpty() - Method in class net.sf.json.JSONObject
 
isEventTriggeringEnabled() - Method in class net.sf.json.JsonConfig
Returns true if event triggering is enabled during building.
isExpandElements() - Method in class net.sf.json.JSONArray
 
isFunction(Object) - Static method in class net.sf.json.util.JSONUtils
Tests if obj is javaScript function.
isFunctionHeader(Object) - Static method in class net.sf.json.util.JSONUtils
Tests if obj is javaScript function header.
isIgnoreDefaultExcludes() - Method in class net.sf.json.JsonConfig
Returns true if default excludes will not be used.
isIgnoreTransientFields() - Method in class net.sf.json.JsonConfig
Returns true if transient fields of a bean will be ignored.
isJavaIdentifier(String) - Static method in class net.sf.json.util.JSONUtils
Returns trus if str represents a valid Java identifier.
isJDK13() - Static method in class net.sf.json.regexp.RegexpUtils
Queries the environment for the supported JDK version.
isNamespaceLenient() - Method in class net.sf.json.xml.XMLSerializer
Returns wether this serializer is tolerant to namespaces without URIs or not.
isNull(Object) - Static method in class net.sf.json.util.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(Class) - Static method in class net.sf.json.util.JSONUtils
Tests if Class represents a primitive number or wrapper.
isNumber(Object) - Static method in class net.sf.json.util.JSONUtils
Tests if obj is a primitive number or wrapper.
isObject(Object) - Static method in class net.sf.json.util.JSONUtils
Tests if obj is not a boolean, number, string or array.
isRemoveNamespacePrefixFromElements() - Method in class net.sf.json.xml.XMLSerializer
Returns wether this serializer will remove namespace prefix from elements or not.
isSkipJavaIdentifierTransformationInMapKeys() - Method in class net.sf.json.JsonConfig
Returns true if map keys will not be transformed.
isSkipNamespaces() - Method in class net.sf.json.xml.XMLSerializer
Returns wether this serializer will skip adding namespace declarations to elements or not.
isString(Class) - Static method in class net.sf.json.util.JSONUtils
Tests if Class represents a String or a char
isString(Object) - Static method in class net.sf.json.util.JSONUtils
Tests if obj is a String or a char
isTrimSpaces() - Method in class net.sf.json.xml.XMLSerializer
Returns wether this serializer will trim leading and trealing whitespace from values or not.
isTypeHintsEnabled() - Method in class net.sf.json.xml.XMLSerializer
Returns true if JSON types will be included as attributes.
isValidJsonValue(Object) - Static method in class net.sf.json.processors.JsonVerifier
Verifies if value is a valid JSON value.
iterator() - Method in class net.sf.json.JSONArray
Returns an Iterator for this JSONArray

J

JavaIdentifierTransformer - Class in net.sf.json.util
Transforms a string into a valid Java identifier.
JavaIdentifierTransformer() - Constructor for class net.sf.json.util.JavaIdentifierTransformer
 
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.
join(String, boolean) - Method in class net.sf.json.JSONArray
Make a string from the contents of this JSONArray.
JsDateJsonBeanProcessor - Class in net.sf.json.processors
Transforms a java.util.Date into a JSONObject ideal for JsDate conversion.
JsDateJsonBeanProcessor() - Constructor for class net.sf.json.processors.JsDateJsonBeanProcessor
 
JsDateJsonValueProcessor - Class in net.sf.json.processors
Transforms a java.util.Date property into a JSONObject ideal for JsDate conversion
JsDateJsonValueProcessor() - Constructor for class net.sf.json.processors.JsDateJsonValueProcessor
 
JSON - Interface in net.sf.json
Marker interface, identifies a valid JSON value.
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.
JSONAssert - Class in net.sf.json.test
Provides assertions on equality for JSON strings and JSON types.
JSONAssert() - Constructor for class net.sf.json.test.JSONAssert
 
JsonBeanProcessor - Interface in net.sf.json.processors
Base interface for custom serialization per Bean.
JSONBuilder - Class in net.sf.json.util
JSONBuilder provides a quick and convenient way of producing JSON text.
JSONBuilder(Writer) - Constructor for class net.sf.json.util.JSONBuilder
Make a fresh JSONBuilder.
JsonConfig - Class in net.sf.json
Utility class that helps configuring the serialization process.
JsonEventListener - Interface in net.sf.json.util
Defines the contract to handle JsonEvents when building an object or array.
JSONException - Exception in net.sf.json
The JSONException is thrown when 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.
JsonGroovyBuilder - Class in net.sf.json.groovy
A Groovy builder for JSON values.
JsonGroovyBuilder() - Constructor for class net.sf.json.groovy.JsonGroovyBuilder
 
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.
JSONSerializer - Class in net.sf.json
Transforms java objects into JSON and back.
JSONSerializer() - Constructor for class net.sf.json.JSONSerializer
Default constructor
JSONSerializer(Class, Map, int) - Constructor for class net.sf.json.JSONSerializer
Constructs a new JSONSerializer with specific values for conversion.
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.util
JSONStringer provides a quick and convenient way of producing JSON text.
JSONStringer() - Constructor for class net.sf.json.util.JSONStringer
Make a fresh JSONStringer.
JSONTokener - Class in net.sf.json.util
A JSONTokener takes a source string and extracts characters and tokens from it.
JSONTokener(String) - Constructor for class net.sf.json.util.JSONTokener
Construct a JSONTokener from a string.
JSONTypes - Interface in net.sf.json.xml
 
JSONUtils - Class in net.sf.json.util
Provides useful methods on java objects and JSON values.
JsonValueProcessor - Interface in net.sf.json.processors
Base interface for custom serialization per property.
JsonVerifier - Class in net.sf.json.processors
Verifies if a value is a valid JSON value.
JsonVerifier() - Constructor for class net.sf.json.processors.JsonVerifier
 

K

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

L

lastIndexOf(Object) - Method in class net.sf.json.JSONArray
 
length() - Method in interface net.sf.json.JSON
Deprecated. use size() instead
length() - Method in class net.sf.json.JSONArray
Deprecated. use size() instead
length() - Method in class net.sf.json.JSONNull
Deprecated. use size() instead
length() - Method in class net.sf.json.JSONObject
Deprecated. use size() instead
length() - Method in class net.sf.json.util.JSONTokener
 
LENIENT - Static variable in class net.sf.json.util.CycleDetectionStrategy
Returns empty array and null object
listIterator() - Method in class net.sf.json.JSONArray
 
listIterator(int) - Method in class net.sf.json.JSONArray
 

M

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.
matches(String) - Method in class net.sf.json.util.JSONTokener
 
mayBeJSON(String) - Static method in class net.sf.json.util.JSONUtils
Tests if the String possibly represents a valid JSON String.
mode - Variable in class net.sf.json.util.JSONBuilder
The current mode.
MODE_LIST - Static variable in class net.sf.json.JSONSerializer
 
MODE_OBJECT_ARRAY - Static variable in class net.sf.json.JSONSerializer
 
more() - Method in class net.sf.json.util.JSONTokener
Determine if the source string still contains characters that next() can consume.
morph(Object) - Method in class net.sf.json.util.EnumMorpher
 
morphsTo() - Method in class net.sf.json.util.EnumMorpher
 

N

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.groovy - package net.sf.json.groovy
Groovy support
net.sf.json.processors - package net.sf.json.processors
Support for custom serialization
net.sf.json.regexp - package net.sf.json.regexp
Regexp utilities
net.sf.json.test - package net.sf.json.test
Testing 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.
newDynaBean(JSONObject) - Static method in class net.sf.json.util.JSONUtils
Creates a new MorphDynaBean from a JSONObject.
next() - Method in class net.sf.json.util.JSONTokener
Get the next character in the source string.
next(char) - Method in class net.sf.json.util.JSONTokener
Consume the next character, and check that it matches a specified character.
next(int) - Method in class net.sf.json.util.JSONTokener
Get the next n characters.
nextClean() - Method in class net.sf.json.util.JSONTokener
Get the next char in the string, skipping whitespace and comments (slashslash, slashstar, and hash).
nextString(char) - Method in class net.sf.json.util.JSONTokener
Return the characters up to the next close quote character.
nextTo(char) - Method in class net.sf.json.util.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.util.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.util.JSONTokener
Get the next value.
NOOP - Static variable in class net.sf.json.util.JavaIdentifierTransformer
Noop transformer '@invalid' => '@invalid'
NUMBER - Static variable in interface net.sf.json.xml.JSONTypes
 
numberToString(Number) - Static method in class net.sf.json.util.JSONUtils
Produce a string from a Number.

O

object() - Method in class net.sf.json.util.JSONBuilder
Begin appending a new object.
OBJECT - Static variable in interface net.sf.json.xml.JSONTypes
 
onArrayEnd() - Method in interface net.sf.json.util.JsonEventListener
Ttriggered when reaching the end of an array.
onArrayStart() - Method in interface net.sf.json.util.JsonEventListener
triggered when the start of an array is encountered.
onElementAdded(int, Object) - Method in interface net.sf.json.util.JsonEventListener
Triggered when an element has been added to the current array.
onError(JSONException) - Method in interface net.sf.json.util.JsonEventListener
Triggered when an exception is thrown.
onObjectEnd() - Method in interface net.sf.json.util.JsonEventListener
triggered when reaching the end of an object.
onObjectStart() - Method in interface net.sf.json.util.JsonEventListener
Triggered when the start of an object is encountered.
onPropertySet(String, Object, boolean) - Method in interface net.sf.json.util.JsonEventListener
Triggered when a property is set on an object
onWarning(String) - Method in interface net.sf.json.util.JsonEventListener
Triggered when a warning is encountered.
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(String) - Static method in class net.sf.json.JSONFunction
Constructs a JSONFunction from a text representation
peek() - Method in class net.sf.json.util.JSONTokener
Look at the next character in the source string.
Perl5RegexpMatcher - Class in net.sf.json.regexp
Jakarta-oro RegexpMatcher Implementation.
Perl5RegexpMatcher(String) - Constructor for class net.sf.json.regexp.Perl5RegexpMatcher
 
processArrayValue(Object) - Method in class net.sf.json.processors.JsDateJsonValueProcessor
 
processArrayValue(Object) - Method in interface net.sf.json.processors.JsonValueProcessor
Processes the value an returns a suitable JSON value.
processBean(Object) - Method in class net.sf.json.processors.JsDateJsonBeanProcessor
Processes the input bena into a compatible JsDate.
processBean(Object) - Method in interface net.sf.json.processors.JsonBeanProcessor
Processes the bean an returns a suitable JSONObject representation.
processObjectValue(String, Object) - Method in class net.sf.json.processors.JsDateJsonValueProcessor
 
processObjectValue(String, Object) - Method in interface net.sf.json.processors.JsonValueProcessor
Processes the value an returns a suitable JSON value.
protect(String) - Method in class net.sf.json.util.WebHijackPreventionStrategy
Transforms the input with the desired strategy.
protect(JSON) - Static method in class net.sf.json.util.WebUtils
Transforms the input Json string using the configured WebHijackPreventionStrategy.
protect(JSON, boolean) - Static method in class net.sf.json.util.WebUtils
Transforms the input Json string using the configured WebHijackPreventionStrategy.
put(Object, Object) - Method in class net.sf.json.JSONObject
 
putAll(Map) - Method in class net.sf.json.JSONObject
 

Q

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

R

read(String) - Method in class net.sf.json.xml.XMLSerializer
Creates a JSON value from a XML string.
readFromFile(File) - Method in class net.sf.json.xml.XMLSerializer
Creates a JSON value from a File.
readFromFile(String) - Method in class net.sf.json.xml.XMLSerializer
Creates a JSON value from a File.
readFromStream(InputStream) - Method in class net.sf.json.xml.XMLSerializer
Creates a JSON value from an input stream.
RegexpMatcher - Interface in net.sf.json.regexp
Abstraction for regexp handling.
RegexpUtils - Class in net.sf.json.regexp
Convenience utility for working withRegexpMatcher.
registerJsonBeanProcessor(Class, JsonBeanProcessor) - Method in class net.sf.json.JsonConfig
Registers a JsonValueProcessor.
registerJsonValueProcessor(Class, Class, JsonValueProcessor) - Method in class net.sf.json.JsonConfig
Registers a JsonValueProcessor.
registerJsonValueProcessor(Class, JsonValueProcessor) - Method in class net.sf.json.JsonConfig
Registers a JsonValueProcessor.
registerJsonValueProcessor(Class, String, JsonValueProcessor) - Method in class net.sf.json.JsonConfig
Registers a JsonValueProcessor.
registerJsonValueProcessor(String, JsonValueProcessor) - Method in class net.sf.json.JsonConfig
Registers a JsonValueProcessor.
remove(int) - Method in class net.sf.json.JSONArray
 
remove(Object) - Method in class net.sf.json.JSONArray
 
remove(Object) - Method in class net.sf.json.JSONObject
 
remove(String) - Method in class net.sf.json.JSONObject
Remove a name and its value, if present.
removeAll(Collection) - Method in class net.sf.json.JSONArray
 
removeJsonEventListener(JsonEventListener) - Method in class net.sf.json.JsonConfig
Removes a listener for Json events.
removeNamespace(String) - Method in class net.sf.json.xml.XMLSerializer
Removes a namespace from the root element.
removeNamespace(String, String) - Method in class net.sf.json.xml.XMLSerializer
Removes a namespace from the root element.
reset() - Method in class net.sf.json.JsonConfig
Resets all values to its default state.
reset() - Method in class net.sf.json.JSONSerializer
Resets this serializer to default values.
reset() - Method in class net.sf.json.util.JSONTokener
 
retainAll(Collection) - Method in class net.sf.json.JSONArray
 

S

set(int, Object) - Method in class net.sf.json.JSONArray
 
setArrayMode(int) - Method in class net.sf.json.JSONSerializer
Sets the current array mode for conversion.
setArrayName(String) - Method in class net.sf.json.xml.XMLSerializer
Sets the name used for JSONArray.
setClassMap(Map) - Method in class net.sf.json.JSONSerializer
Sets the current attribute/Class Map
setCycleDetectionStrategy(CycleDetectionStrategy) - Method in class net.sf.json.JsonConfig
Sets a CycleDetectionStrategy to use.
setElementName(String) - Method in class net.sf.json.xml.XMLSerializer
Sets the name used for JSONArray elements.
setExcludes(String[]) - Method in class net.sf.json.JsonConfig
Sets the excludes to use.
setExpandableProperties(String[]) - Method in class net.sf.json.xml.XMLSerializer
Sets the list of properties to be expanded from child to parent.
setExpandElements(boolean) - Method in class net.sf.json.JSONArray
 
setIgnoreDefaultExcludes(boolean) - Method in class net.sf.json.JsonConfig
Sets if default ecludes would be skipped when building.
setIgnoreTransientFields(boolean) - Method in class net.sf.json.JsonConfig
Sets if transient fields would be skipped when building.
setJavaIdentifierTransformer(JavaIdentifierTransformer) - Method in class net.sf.json.JsonConfig
Sets the JavaIdentifierTransformer to use.
setJavaIdentifierTransformer(JavaIdentifierTransformer) - Static method in class net.sf.json.util.JSONUtils
Deprecated. use JsonConfig.setJavaIdentifierTransformer
setNamespace(String, String) - Method in class net.sf.json.xml.XMLSerializer
Sets the namespace declaration to the root element.
setNamespace(String, String, String) - Method in class net.sf.json.xml.XMLSerializer
Adds a namespace declaration to an element.
setNamespaceLenient(boolean) - Method in class net.sf.json.xml.XMLSerializer
Sets wether this serializer is tolerant to namespaces without URIs or not.
setObjectName(String) - Method in class net.sf.json.xml.XMLSerializer
Sets the name used for JSONObject.
setProperty(String, Object) - Method in class net.sf.json.groovy.JsonGroovyBuilder
 
setRemoveNamespacePrefixFromElements(boolean) - Method in class net.sf.json.xml.XMLSerializer
Sets if this serializer will remove namespace prefix from elements when reading.
setRootClass(Class) - Method in class net.sf.json.JSONSerializer
Sets the current root Class
setRootName(String) - Method in class net.sf.json.xml.XMLSerializer
Sets the name used for the root element.
setSkipJavaIdentifierTransformationInMapKeys(boolean) - Method in class net.sf.json.JsonConfig
Sets if transient fields of beans would be skipped when building.
setSkipNamespaces(boolean) - Method in class net.sf.json.xml.XMLSerializer
Sets if this serializer will skip adding namespace declarations to elements when reading.
setTrimSpaces(boolean) - Method in class net.sf.json.xml.XMLSerializer
Sets if this serializer will trim leading and trealing whitespace from values when reading.
setTypeHintsEnabled(boolean) - Method in class net.sf.json.xml.XMLSerializer
Sets wether JSON types will be included as attributes.
setWebHijackPreventionStrategy(WebHijackPreventionStrategy) - Static method in class net.sf.json.util.WebUtils
Sets a WebHijackPreventionStrategy.
shaveOffNonJavaIdentifierStartChars(String) - Method in class net.sf.json.util.JavaIdentifierTransformer
Removes all non JavaIdentifier chars from the start of the string.
SINGLE_QUOTE - Static variable in class net.sf.json.util.JSONUtils
Constant for char '
size() - Method in interface net.sf.json.JSON
Returns the number of properties in an object or the size of the array.
size() - Method in class net.sf.json.JSONArray
Get the number of elements in the JSONArray, included nulls.
size() - Method in class net.sf.json.JSONNull
 
size() - Method in class net.sf.json.JSONObject
Get the number of keys stored in the JSONObject.
skipPast(String) - Method in class net.sf.json.util.JSONTokener
Skip characters until past the requested string.
skipTo(char) - Method in class net.sf.json.util.JSONTokener
Skip characters until the next character is the requested character.
STRICT - Static variable in class net.sf.json.util.CycleDetectionStrategy
Throws a JSONException
STRICT - Static variable in class net.sf.json.util.JavaIdentifierTransformer
Strict transformer '@invalid' => JSONException
STRING - Static variable in interface net.sf.json.xml.JSONTypes
 
stripQuotes(String) - Static method in class net.sf.json.util.JSONUtils
Strips any single-quotes or double-quotes from boths sides of the string.
subList(int, int) - Method in class net.sf.json.JSONArray
 
supports(Class) - Method in class net.sf.json.util.EnumMorpher
 
syntaxError(String) - Method in class net.sf.json.util.JSONTokener
Make a JSONException to signal a syntax error.

T

testValidity(Object) - Static method in class net.sf.json.util.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.
toArray(Object[]) - Method in class net.sf.json.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.
toJava(JSON) - Method in class net.sf.json.JSONSerializer
Transform a JSON value to a java object.
toJSON(Object) - Static method in class net.sf.json.JSONSerializer
Creates a JSONObject, JSONArray or a JSONNull from object.
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.
toString(int) - Method in interface net.sf.json.JSON
Make a prettyprinted JSON text.
toString(int, int) - Method in interface net.sf.json.JSON
Make a prettyprinted JSON text.
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.JSONFunction
Returns the string representation of this function.
toString() - Method in class net.sf.json.JSONNull
Get the "null" string value.
toString(int) - Method in class net.sf.json.JSONNull
 
toString(int, int) - Method in class net.sf.json.JSONNull
 
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.util.JSONStringer
Return the JSON text.
toString() - Method in class net.sf.json.util.JSONTokener
Make a printable string of this JSONTokener.
toString(JSON) - Static method in class net.sf.json.util.WebUtils
Returns a string represenation of a JSON value.
transformNumber(Number) - Static method in class net.sf.json.util.JSONUtils
Transforms a Number into a valid javascript number.
transformToJavaIdentifier(String) - Method in class net.sf.json.util.JavaIdentifierTransformer
 

U

UNDERSCORE - Static variable in class net.sf.json.util.JavaIdentifierTransformer
Underscore transformer 'under score' => 'under_score'
unregisterJsonBeanProcessor(Class) - Method in class net.sf.json.JsonConfig
Removes a JsonBeanProcessor.
unregisterJsonValueProcessor(Class) - Method in class net.sf.json.JsonConfig
Removes a JsonValueProcessor.
unregisterJsonValueProcessor(Class, Class) - Method in class net.sf.json.JsonConfig
Removes a JsonValueProcessor.
unregisterJsonValueProcessor(Class, String) - Method in class net.sf.json.JsonConfig
Removes a JsonValueProcessor.
unregisterJsonValueProcessor(String) - Method in class net.sf.json.JsonConfig
Removes a JsonValueProcessor.

V

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

W

WebHijackPreventionStrategy - Class in net.sf.json.util
Defines base implementations for preventing WebHijack in AJAX applications.
WebHijackPreventionStrategy() - Constructor for class net.sf.json.util.WebHijackPreventionStrategy
 
WebUtils - Class in net.sf.json.util
Provides useful methods for working with JSON and web.
WHITESPACE - Static variable in class net.sf.json.util.JavaIdentifierTransformer
Whitespace transformer 'white space' => 'whitespace'
write(Writer) - Method in interface net.sf.json.JSON
Write the contents as JSON text to a writer.
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.JSONNull
 
write(Writer) - Method in class net.sf.json.JSONObject
Write the contents of the JSONObject as JSON text to a writer.
write(JSON) - Method in class net.sf.json.xml.XMLSerializer
Writes a JSON value into a XML string with UTF-8 encoding.
write(JSON, String) - Method in class net.sf.json.xml.XMLSerializer
Writes a JSON value into a XML string with an specific encoding.
writer - Variable in class net.sf.json.util.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
Creates a new XMLSerializer with default options.

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