| Package | Description |
|---|---|
| com.owlike.genson |
This package contains Genson base classes, to start
with have a look at
Genson. |
| com.owlike.genson.convert |
This package provides some default
Converter implementations and
the chained factory and converter decorator mechanisms. |
| com.owlike.genson.reflect |
This package contains the core api providing databinding support for complex objects.
|
| Modifier and Type | Method and Description |
|---|---|
protected BeanDescriptorProvider |
Genson.Builder.createBeanDescriptorProvider()
Creates the standard BeanDescriptorProvider that will be used to provide
BeanDescriptor instances for
serialization/deserialization of all types that couldn't be handled by standard and
custom converters and converter factories. |
BeanDescriptorProvider |
Genson.getBeanDescriptorFactory() |
protected BeanDescriptorProvider |
Genson.Builder.getBeanDescriptorProvider() |
| Constructor and Description |
|---|
Genson(Factory<Converter<?>> converterFactory,
BeanDescriptorProvider beanDescProvider,
Converter<Object> nullConverter,
boolean skipNull,
boolean htmlSafe,
Map<String,Class<?>> classAliases,
boolean withClassMetadata,
boolean strictDoubleParse,
boolean indent,
boolean withMetadata)
Instead of using this constructor you should use
Genson.Builder. |
| Constructor and Description |
|---|
BasicConvertersFactory(Map<Type,Serializer<?>> serializersMap,
Map<Type,Deserializer<?>> deserializersMap,
List<Factory<?>> factories,
BeanDescriptorProvider beanDescriptorProvider) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBeanDescriptorProvider
Abstract implementation of
BeanDescriptorProvider applying the template pattern. |
class |
BaseBeanDescriptorProvider
Standard implementation of AbstractBeanDescriptorProvider that uses
BeanMutatorAccessorResolver and PropertyNameResolver. |
class |
BeanViewDescriptorProvider
This class constructs BeanDescriptors for the
BeanView
mechanism. |
Copyright © 2014. All Rights Reserved.