All Classes Interface Summary Class Summary Exception Summary
Class |
Description |
AndPropertyFilter |
|
CompositePropertyFilter |
|
CycleDetectionStrategy |
Base class for cycle detection in a hierarchy.
The JSON spec forbides cycles in a hierarchy and most parsers will raise and
error when a cycle is detected.
|
DefaultDefaultValueProcessor |
Base implementation for DefaultDefaultValueProcessor.
|
DefaultValueProcessor |
Defines the default value for a type when its value is null.
|
DefaultValueProcessorMatcher |
Base class for finding a matching DefaultValueProcessor.
DEFAULT - matches the target class with equals().
|
EnumMorpher |
|
FalsePropertyFilter |
|
JavaIdentifierTransformer |
Transforms a string into a valid Java identifier.
There are five predefined strategies:
NOOP: does not perform transformation.
CAMEL_CASE: follows the camel case convention, deletes non
JavaIndentifierPart chars.
UNDERSCORE: transform whitespace and non JavaIdentifierPart chars to
'_'.
WHITESPACE: deletes whitespace and non JavaIdentifierPart chars.
STRICT: always throws a JSONException, does not perform transformation.
|
JdkRegexpMatcher |
JDK 1.4+ RegexpMatcher implementation.
|
JsDateJsonBeanProcessor |
Transforms a java.util.Date into a JSONObject ideal for JsDate conversion.
Example:
|
JsDateJsonValueProcessor |
Transforms a java.util.Date property into a JSONObject ideal for JsDate
conversion
|
JSON |
|
JSONArray |
A JSONArray is an ordered sequence of values.
|
JSONAssert |
Provides assertions on equality for JSON strings and JSON types.
|
JsonBeanProcessor |
Base interface for custom serialization per Bean.
|
JsonBeanProcessorMatcher |
Base class for finding a matching JsonBeanProcessor.
DEFAULT - matches the target class with equals().
|
JSONBuilder |
JSONBuilder provides a quick and convenient way of producing JSON text.
|
JsonConfig |
Utility class that helps configuring the serialization process.
|
JsonEventListener |
Defines the contract to handle JsonEvents when building an object or array.
|
JSONException |
The JSONException is thrown when things are amiss.
|
JSONFunction |
JSONFunction represents a javaScript function's text.
|
JsonGroovyBuilder |
A Groovy builder for JSON values.
|
JSONNull |
JSONNull is equivalent to the value that JavaScript calls null, whilst Java's
null is equivalent to the value that JavaScript calls undefined.
|
JSONObject |
A JSONObject is an unordered collection of name/value pairs.
|
JSONSerializer |
Transforms java objects into JSON and back.
Transformation from java to JSON is pretty straightforward, but the other way
around needs certain configuration, otherwise the java objects produced will
be DynaBeans and Lists, because the JSON notation does not carry any
information on java classes.
|
JsonSlurper |
A Helper class modeled after XmlSlurper
|
JSONString |
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 |
JSONStringer provides a quick and convenient way of producing JSON text.
|
JSONTokener |
A JSONTokener takes a source string and extracts characters and tokens from
it.
|
JSONTypes |
|
JSONUtils |
Provides useful methods on java objects and JSON values.
|
JsonValueProcessor |
Base interface for custom serialization per property.
|
JsonValueProcessorMatcher |
Base class for finding a matching JsonValueProcessor.
DEFAULT - matches the target class with equals().
|
JsonVerifier |
Verifies if a value is a valid JSON value.
|
MappingPropertyFilter |
|
NewBeanInstanceStrategy |
Base class for creating Bean instances.
DEFAULT - calls Class.newInstance().
|
NotPropertyFilter |
|
OrPropertyFilter |
|
Perl5RegexpMatcher |
Jakarta-oro RegexpMatcher Implementation.
Runs on older JVMs (1.3.1).
|
PropertyExclusionClassMatcher |
Base class for finding a matching property exlucsion.
DEFAULT - matches the target class with equals().
|
PropertyFilter |
|
PropertyNameProcessor |
Base interface for mutating property names of a Bean.
|
PropertyNameProcessorMatcher |
Base class for finding a matching PropertyNameProcessor.
DEFAULT - matches the target class with equals().
|
PropertySetStrategy |
Defines a custom setter to be used when setting object values.
Specify with JsonConfig.setJsonPropertySetter().
|
RegexpMatcher |
Abstraction for regexp handling.
|
RegexpUtils |
Convenience utility for working withRegexpMatcher.
|
TruePropertyFilter |
|
WebHijackPreventionStrategy |
Defines base implementations for preventing WebHijack in AJAX applications.
|
WebUtils |
Provides useful methods for working with JSON and web.
|
XMLSerializer |
Utility class for transforming JSON to XML an back.
When transforming JSONObject and JSONArray instances to XML, this class will
add hints for converting back to JSON.
Examples:
|