- <init>
- create
In theory this allows you to extend Genson class and to instantiate it, but
actually you can not do
- useMethods
- withContextualFactory
ContextualFactory is actually in a beta status, it will not be removed, but
might be refactored.
- useDateAsTimestamp
- isDateAsTimestamp
- setSkipNull
If true will not serialize null values
- useFields
- withBundle
Register some genson bundles. For example to enable JAXB support:
builder.withBundle(new JAXBExtens
- withConverterFactory
A ChainedFactory provides a way to use custom Converters that have access to the
default Converters.
- withConverters
Registers converters mapping them to their corresponding parameterized type.
- addDefaultContextualFactories