public class JoddJson
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static JsonAnnotationManager |
annotationManager
Default JSON annotation manager.
|
static java.lang.String |
classMetadataName
Specifies if 'class' metadata is used.
|
static boolean |
deepSerialization
Defines default behavior of a
JsonSerializer. |
static TypeJsonSerializerMap |
defaultSerializers
Default JSON type serializers.
|
static java.lang.String[] |
excludedTypeNames
List of excluded types names for serialization.
|
static java.lang.Class[] |
excludedTypes
List of excluded types for serialization.
|
static java.lang.Class<? extends java.lang.annotation.Annotation> |
jsonAnnotation
Annotation used for marking the properties.
|
static boolean |
serializationSubclassAware
When
true, then search for first annotated
class or interface and use it's data. |
static boolean |
useAltPathsByParser
Defines if parser will use extended paths information
and path matching.
|
| Constructor and Description |
|---|
JoddJson() |
| Modifier and Type | Method and Description |
|---|---|
static void |
init() |
public static java.lang.Class<? extends java.lang.annotation.Annotation> jsonAnnotation
public static TypeJsonSerializerMap defaultSerializers
public static java.lang.String classMetadataName
JsonSerializer and all objects
will have additional field with the class type in the resulting JSON.
JsonParser will also consider this flag to build
correct object type. If null, class information is not used.public static boolean deepSerialization
JsonSerializer.
If set to true, objects will be serialized
deep, so all collections and arrays will get serialized.public static boolean useAltPathsByParser
public static java.lang.Class[] excludedTypes
public static java.lang.String[] excludedTypeNames
* and ?).public static boolean serializationSubclassAware
true, then search for first annotated
class or interface and use it's data.public static JsonAnnotationManager annotationManager
Copyright © 2003-2013 Jodd Team