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.ext |
This package contains features simplifying Genson integration into existing components.
|
com.owlike.genson.reflect |
This package contains the core api providing databinding support for complex objects.
|
Modifier and Type | Method and Description |
---|---|
protected BeanDescriptorProvider |
GensonBuilder.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. |
protected BeanDescriptorProvider |
GensonBuilder.getBeanDescriptorProvider() |
BeanDescriptorProvider |
Genson.getBeanDescriptorProvider() |
Constructor and Description |
---|
Genson(Factory<Converter<?>> converterFactory,
BeanDescriptorProvider beanDescProvider,
boolean skipNull,
boolean htmlSafe,
Map<String,Class<?>> classAliases,
boolean withClassMetadata,
boolean strictDoubleParse,
boolean indent,
boolean withMetadata,
boolean failOnMissingProperty,
Map<Class<?>,Object> defaultValues,
RuntimePropertyFilter runtimePropertyFilter)
Instead of using this constructor you should use
GensonBuilder . |
Constructor and Description |
---|
BasicConvertersFactory(Map<Type,Serializer<?>> serializersMap,
Map<Type,Deserializer<?>> deserializersMap,
List<Factory<?>> factories,
BeanDescriptorProvider beanDescriptorProvider) |
Modifier and Type | Method and Description |
---|---|
BeanDescriptorProvider |
GensonBundle.createBeanDescriptorProvider(AbstractBeanDescriptorProvider.ContextualConverterFactory contextualConverterFactory,
BeanPropertyFactory propertyFactory,
BeanMutatorAccessorResolver propertyResolver,
PropertyNameResolver nameResolver,
GensonBuilder builder) |
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 . |
static class |
BeanDescriptorProvider.CompositeBeanDescriptorProvider |
class |
BeanViewDescriptorProvider
This class constructs BeanDescriptors for the
BeanView
mechanism. |
Constructor and Description |
---|
CompositeBeanDescriptorProvider(List<BeanDescriptorProvider> providers) |
Copyright © 2019. All rights reserved.