| Package | Description |
|---|---|
| io.gsonfire |
| Modifier and Type | Method and Description |
|---|---|
GsonFireBuilder |
GsonFireBuilder.addSerializationExclusionStrategy(FireExclusionStrategy exclusionStrategy) |
GsonFireBuilder |
GsonFireBuilder.dateSerializationPolicy(DateSerializationPolicy policy)
Configures the resulting Gson to serialize/unserialize Date instances with a policy
|
GsonFireBuilder |
GsonFireBuilder.enableExclusionByValue()
By enabling this, all exclusion by value strategies specified with the annotation
ExcludeByValue will be run to remove specific fields from the resulting json |
GsonFireBuilder |
GsonFireBuilder.enableExposeMethodResult()
By enabling this, all methods with the annotation
ExposeMethodResult will
be evaluated and it result will be added to the resulting json |
GsonFireBuilder |
GsonFireBuilder.enableHooks(Class clazz)
By enabling this, all methods with the annotation
ExposeMethodResult will
be evaluated and it result will be added to the resulting json |
GsonFireBuilder |
GsonFireBuilder.enableMergeMaps(Class clazz)
Deprecated.
|
<T extends Enum> |
GsonFireBuilder.enumDefaultValue(Class<T> enumClass,
T defaultValue)
Defines a default value for an enum when its String representation does not match any of the enum values.
|
<T> GsonFireBuilder |
GsonFireBuilder.registerPostProcessor(Class<T> clazz,
PostProcessor<? super T> postProcessor)
Registers a Post processor for the Class specified.
|
<T> GsonFireBuilder |
GsonFireBuilder.registerPreProcessor(Class<T> clazz,
PreProcessor<? super T> preProcessor)
Registers a pre processor for the Class specified.
|
<T> GsonFireBuilder |
GsonFireBuilder.registerTypeSelector(Class<T> clazz,
TypeSelector<T> factory)
Registers a Type selector for the Class specified.
|
GsonFireBuilder |
GsonFireBuilder.serializeTimeZone(TimeZone timeZone)
Sets the serialization TimeZone.
|
<T> GsonFireBuilder |
GsonFireBuilder.wrap(Class<T> clazz,
Mapper<T,String> mapper)
A given class will be wrapped/unwrapped with a string generated by a mapper
during serialization/deserialization.
|
<T> GsonFireBuilder |
GsonFireBuilder.wrap(Class<T> clazz,
String name)
A given class will be wrapped/unwrapped with a given string
during serialization/deserialization.
|
Copyright © 2018. All rights reserved.