All Classes and Interfaces

Class
Description
Base class for array Morphers.
Base class for primitive decimal conversion.
Base class por primitive integer conversion.
Base class for ObjectMorpher implementations.
Base class for primitive value conversion.
 
Converts a JavaBean into another JavaBean or DynaBean.
This Morpher will try to match every property from the target JavaBean's class to the properties of the source JavaBean.
Morphs to a BigDecimal.
Morphs to a BigInteger.
Morphs an array to a boolean[].
Morphs to a boolean.
Morphs an array to a Boolean[].
Morphs to a Boolean.
Morphs an array to a byte[].
Morphs to a byte.
Morphs an array to a Character[].
Morphs to a Character.
Morphs an array to a char[].
Morphs to a char.
Morphs to a Class.
This morpher is a singleton.
 
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.
Morphs a String to a Date.
Base implementation for DefaultDefaultValueProcessor.
Defines the default value for a type when its value is null.
Base class for finding a matching DefaultValueProcessor.
DEFAULT - matches the target class with equals().
Morphs an array to a double[].
Morphs to a double.
 
 
Morphs an array to a float[].
Moprhs to a float.
Morpher that performs no conversion.
This morpher is a singleton.
Morphs an array to a int[].
Morphs to an int.
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 JavaIdentifierPart chars (including whitespace). UNDERSCORE: replaces sequences of non JavaIdentifierPart chars (including whitespace) with single '_' separators. WHITESPACE: deletes non JavaIdentifierPart chars (including whitespace). STRICT: always throws a JSONException, does not perform transformation.
Transforms a java.util.Date into a JSONObject ideal for JsDate conversion.
Example:
Transforms a java.util.Date property into a JSONObject ideal for JsDate conversion
Marker interface, identifies a valid JSON value.
A JSON value may be a JSONObject, a JSONArray or a JSONNull.
A JSONArray is an ordered sequence of values.
Base interface for custom serialization per Bean.
Base class for finding a matching JsonBeanProcessor.
DEFAULT - matches the target class with equals().
JSONBuilder provides a quick and convenient way of producing JSON text.
Utility class that helps configuring the serialization process.
Defines the contract to handle JsonEvents when building an object or array.
The JSONException is thrown when things are amiss.
JSONNull is equivalent to the value that JavaScript calls null, whilst Java's null is equivalent to the value that JavaScript calls undefined.
A JSONObject is an unordered collection of name/value pairs.
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.
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 provides a quick and convenient way of producing JSON text.
A JSONTokener takes a source string and extracts characters and tokens from it.
Provides useful methods on java objects and JSON values.
Base interface for custom serialization per property.
Base class for finding a matching JsonValueProcessor.
DEFAULT - matches the target class with equals().
Verifies if a value is a valid JSON value.
Morphs an array to a long[].
Morphs to a long.
 
Morphs a Map into a Date.
The Map should have at least one of the following keys [yer,month,day,hour,minutes,seconds,milliseconds] and the values should be instances of Number.
 
 
Marker interface for morphers.
All implementations must have a morph( Object value ) method that returns the appropiate morphed value.
Convenient class that manages Morphers.
A MorpherRehistry manages a group of Morphers.
A MorphException indicates that a call to Morpher.morph() has failed to complete successfully.
Based on common-beauntils ConversionException.
Covenient class for registering standard morphers to a ConvertRegistry.
Base class for creating Bean instances.
DEFAULT - calls Class.newInstance().
 
Morphs to a subclass of Number.
Supported types are - Byte, Short, Integer, Long, Float, BigInteger, BigtDecimal.
Morphs an array to another array using a Morpher.
Morphs a List to another List using a Morpher.
Marker interface for morphers that return an Object.
 
Base class for finding a matching property exlucsion.
DEFAULT - matches the target class with equals().
 
Base interface for mutating property names of a Bean.
Base class for finding a matching PropertyNameProcessor.
DEFAULT - matches the target class with equals().
Defines a custom setter to be used when setting object values.
Specify with JsonConfig.setJsonPropertySetter().
Morphs an array to a short[].
Morphs to a short.
Morphs to a String.
This morpher is a singleton.
An all-purpose Morpher that can morph to several classes.
Because this Morpher accepts any class and morphs to Object it should not be added to a MorpherRegistry as it may be too generic for some cases and may result in unwanted transformations.