- CalendarConverterFactory(DefaultConverters.DateConverter) - Constructor for class com.owlike.genson.convert.DefaultConverters.CalendarConverterFactory
-
- caseSensitive - Variable in class com.owlike.genson.convert.DefaultConverters.EnumConverterFactory
-
- ChainedFactory - Class in com.owlike.genson.convert
-
A chained factory of Converters that gives the ability to implementations to decorate the
converter created by the next factory.
- ChainedFactory() - Constructor for class com.owlike.genson.convert.ChainedFactory
-
- ChainedFactory(Factory<Converter<?>>) - Constructor for class com.owlike.genson.convert.ChainedFactory
-
- checkAndMerge(Type, List<BeanCreator>) - Method in class com.owlike.genson.reflect.AbstractBeanDescriptorProvider
-
Implementations of this method can do some additional checks on the creators validity or do
any other operations related to creators.
- checkAndMerge(Type, List<BeanCreator>) - Method in class com.owlike.genson.reflect.BaseBeanDescriptorProvider
-
- checkAndMergeAccessors(String, LinkedList<PropertyAccessor>) - Method in class com.owlike.genson.reflect.AbstractBeanDescriptorProvider
-
Implementations are supposed to merge the
PropertyAccessor
s from accessors list into
a single PropertyAccessor.
- checkAndMergeAccessors(String, LinkedList<PropertyAccessor>) - Method in class com.owlike.genson.reflect.BaseBeanDescriptorProvider
-
- checkAndMergeMutators(String, LinkedList<PropertyMutator>) - Method in class com.owlike.genson.reflect.AbstractBeanDescriptorProvider
-
Implementations are supposed to merge the
PropertyMutator
s from mutators list into a
single PropertyMutator.
- checkAndMergeMutators(String, LinkedList<PropertyMutator>) - Method in class com.owlike.genson.reflect.BaseBeanDescriptorProvider
-
- checkNotNull(Object...) - Static method in class com.owlike.genson.Operations
-
- CircularClassReferenceConverterFactory - Class in com.owlike.genson.convert
-
ChainedFactory that handles circular class references.
- CircularClassReferenceConverterFactory() - Constructor for class com.owlike.genson.convert.CircularClassReferenceConverterFactory
-
- classFor(String) - Method in class com.owlike.genson.Genson
-
Searches for the class matching this alias, if none will try to use the alias as the class
name.
- ClassMetadataConverter<T> - Class in com.owlike.genson.convert
-
Converter responsible of writing and reading @class metadata.
- ClassMetadataConverter(Class<T>, Converter<T>, boolean, boolean, boolean) - Constructor for class com.owlike.genson.convert.ClassMetadataConverter
-
- ClassMetadataConverter.ClassMetadataConverterFactory - Class in com.owlike.genson.convert
-
- ClassMetadataConverterFactory(boolean) - Constructor for class com.owlike.genson.convert.ClassMetadataConverter.ClassMetadataConverterFactory
-
- close() - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- close() - Method in class com.owlike.genson.ext.jsr353.GensonJsonParser
-
- close() - Method in class com.owlike.genson.stream.JsonReader
-
- close() - Method in class com.owlike.genson.stream.JsonWriter
-
- close() - Method in interface com.owlike.genson.stream.ObjectWriter
-
- CollectionConverter(Class<E>, Converter<E>) - Constructor for class com.owlike.genson.convert.DefaultConverters.CollectionConverter
-
- column() - Method in class com.owlike.genson.stream.JsonReader
-
- column() - Method in interface com.owlike.genson.stream.ObjectReader
-
- com.owlike.genson - package com.owlike.genson
-
This package contains Genson base classes, to start
with have a look at
Genson
.
- com.owlike.genson.annotation - package com.owlike.genson.annotation
-
This package provides useful annotations to configure some features used during serialization and deserialization.
- com.owlike.genson.convert - package com.owlike.genson.convert
-
This package provides some default
Converter
implementations and
the chained factory and converter decorator mechanisms.
- com.owlike.genson.ext - package com.owlike.genson.ext
-
This package contains features simplifying Genson integration into existing components.
- com.owlike.genson.ext.guava - package com.owlike.genson.ext.guava
-
- com.owlike.genson.ext.jaxb - package com.owlike.genson.ext.jaxb
-
- com.owlike.genson.ext.jaxrs - package com.owlike.genson.ext.jaxrs
-
- com.owlike.genson.ext.jodatime - package com.owlike.genson.ext.jodatime
-
- com.owlike.genson.ext.jsr353 - package com.owlike.genson.ext.jsr353
-
- com.owlike.genson.ext.spring - package com.owlike.genson.ext.spring
-
- com.owlike.genson.reflect - package com.owlike.genson.reflect
-
This package contains the core api providing databinding support for complex objects.
- com.owlike.genson.stream - package com.owlike.genson.stream
-
This package provides the streaming api used to read and write to streams.
- compareTo(BeanCreator) - Method in class com.owlike.genson.reflect.BeanCreator
-
- compareTo(PropertyAccessor) - Method in class com.owlike.genson.reflect.PropertyAccessor
-
- compareTo(PropertyMutator) - Method in class com.owlike.genson.reflect.PropertyMutator
-
- CompositeBeanDescriptorProvider(List<BeanDescriptorProvider>) - Constructor for class com.owlike.genson.reflect.BeanDescriptorProvider.CompositeBeanDescriptorProvider
-
- CompositeFactory(List<? extends BeanPropertyFactory>) - Constructor for class com.owlike.genson.reflect.BeanPropertyFactory.CompositeFactory
-
- CompositePropertyNameResolver(List<PropertyNameResolver>) - Constructor for class com.owlike.genson.reflect.PropertyNameResolver.CompositePropertyNameResolver
-
- CompositeResolver(List<BeanMutatorAccessorResolver>) - Constructor for class com.owlike.genson.reflect.BeanMutatorAccessorResolver.CompositeResolver
-
- concreteClass - Variable in class com.owlike.genson.reflect.BeanProperty
-
- configure(GensonBuilder) - Method in class com.owlike.genson.ext.GensonBundle
-
This method does not provide any guarantee to when it is called: before user config, during,
or after.
- configure(GensonBuilder) - Method in class com.owlike.genson.ext.guava.GuavaBundle
-
- configure(GensonBuilder) - Method in class com.owlike.genson.ext.jaxb.JAXBBundle
-
- configure(FeatureContext) - Method in class com.owlike.genson.ext.jaxrs.JerseyAutoDiscoverable
-
- configure(GensonBuilder) - Method in class com.owlike.genson.ext.jodatime.JodaTimeBundle
-
- configure(GensonBuilder) - Method in class com.owlike.genson.ext.jsr353.JSR353Bundle
-
- constructor - Variable in class com.owlike.genson.reflect.BeanCreator.ConstructorBeanCreator
-
- ConstructorBeanCreator(Class<?>, Constructor<?>, String[], Type[]) - Constructor for class com.owlike.genson.reflect.BeanCreator.ConstructorBeanCreator
-
- consumeLiteral() - Method in class com.owlike.genson.stream.JsonReader
-
Reads the next literal value into _booleanValue, _doubleValue or _intValue and returns the
type of the readed literal, possible values are : INTEGER, DOUBLE, BOOLEAN, NULL.
- consumeString(int) - Method in class com.owlike.genson.stream.JsonReader
-
- consumeValue() - Method in class com.owlike.genson.stream.JsonReader
-
- contains(List<String>) - Method in class com.owlike.genson.reflect.BeanCreator
-
- Context - Class in com.owlike.genson
-
The context class is intended to be a statefull class shared across a single execution.
- Context(Genson) - Constructor for class com.owlike.genson.Context
-
- Context(Genson, List<Class<? extends BeanView<?>>>) - Constructor for class com.owlike.genson.Context
-
- ContextualConverterFactory(List<? extends ContextualFactory<?>>) - Constructor for class com.owlike.genson.reflect.AbstractBeanDescriptorProvider.ContextualConverterFactory
-
- ContextualFactory<T> - Interface in com.owlike.genson.convert
-
Beta feature
Create method signature and BeanProperty might change in the future.
- ContextualFactoryDecorator(Factory<Converter<?>>) - Constructor for class com.owlike.genson.reflect.AbstractBeanDescriptorProvider.ContextualFactoryDecorator
-
- ConventionalBeanPropertyNameResolver() - Constructor for class com.owlike.genson.reflect.PropertyNameResolver.ConventionalBeanPropertyNameResolver
-
- Converter<T> - Interface in com.owlike.genson
-
Converter interface is a shorthand for classes who want to implement both serialization and
deserialization.
- ConverterFactory() - Constructor for class com.owlike.genson.ext.jodatime.IntervalConverter.ConverterFactory
-
- couldNotAccess(Exception) - Method in class com.owlike.genson.reflect.PropertyAccessor
-
- couldNotCreate(Exception) - Method in class com.owlike.genson.reflect.BeanCreator
-
- couldNotDeserialize(Throwable) - Method in class com.owlike.genson.reflect.PropertyMutator
-
- couldNotMutate(Exception) - Method in class com.owlike.genson.reflect.PropertyMutator
-
- couldNotSerialize(Throwable) - Method in class com.owlike.genson.reflect.PropertyAccessor
-
- create(Type, Genson) - Method in class com.owlike.genson.convert.BasicConvertersFactory
-
- create(Type, Genson, Converter<?>) - Method in class com.owlike.genson.convert.BeanViewConverter.BeanViewConverterFactory
-
- create(Type, Genson) - Method in class com.owlike.genson.convert.ChainedFactory
-
- create(Type, Genson, Converter<?>) - Method in class com.owlike.genson.convert.ChainedFactory
-
- create(Type, Genson) - Method in class com.owlike.genson.convert.CircularClassReferenceConverterFactory
-
- create(Type, Genson, Converter<?>) - Method in class com.owlike.genson.convert.CircularClassReferenceConverterFactory
-
- create(Type, Genson, Converter<?>) - Method in class com.owlike.genson.convert.ClassMetadataConverter.ClassMetadataConverterFactory
-
- create(BeanProperty, Genson) - Method in interface com.owlike.genson.convert.ContextualFactory
-
Return an instance of a converter working with objects of type T based on property argument
or null.
- create(Type, Genson) - Method in class com.owlike.genson.convert.DefaultConverters.ArrayConverterFactory
-
- create() - Method in class com.owlike.genson.convert.DefaultConverters.ArrayDequeConverter
-
- create(Type, Genson) - Method in class com.owlike.genson.convert.DefaultConverters.CalendarConverterFactory
-
- create() - Method in class com.owlike.genson.convert.DefaultConverters.CollectionConverter
-
- create(Type, Genson) - Method in class com.owlike.genson.convert.DefaultConverters.CollectionConverterFactory
-
- create(BeanProperty, Genson) - Method in class com.owlike.genson.convert.DefaultConverters.DateContextualFactory
-
- create(Type, Genson) - Method in class com.owlike.genson.convert.DefaultConverters.EnumConverterFactory
-
- create() - Method in class com.owlike.genson.convert.DefaultConverters.EnumSetConverter
-
- create() - Method in class com.owlike.genson.convert.DefaultConverters.HashMapConverter
-
- create() - Method in class com.owlike.genson.convert.DefaultConverters.HashTableConverter
-
- create() - Method in class com.owlike.genson.convert.DefaultConverters.LinkedHashMapConverter
-
- create() - Method in class com.owlike.genson.convert.DefaultConverters.LinkedHashSetConverter
-
- create() - Method in class com.owlike.genson.convert.DefaultConverters.LinkedListConverter
-
- create() - Method in class com.owlike.genson.convert.DefaultConverters.MapConverter
-
- create(Type, Genson) - Method in class com.owlike.genson.convert.DefaultConverters.MapConverterFactory
-
- create(Type, Genson) - Method in class com.owlike.genson.convert.DefaultConverters.PrimitiveConverterFactory
-
- create() - Method in class com.owlike.genson.convert.DefaultConverters.PriorityQueueConverter
-
- create() - Method in class com.owlike.genson.convert.DefaultConverters.PropertiesConverter
-
- create(BeanProperty, Genson) - Method in class com.owlike.genson.convert.DefaultConverters.PropertyConverterFactory
-
- create() - Method in class com.owlike.genson.convert.DefaultConverters.SetConverter
-
- create(Type, Genson) - Method in class com.owlike.genson.convert.DefaultConverters.SingleValueAsListFactory
-
- create() - Method in class com.owlike.genson.convert.DefaultConverters.TreeMapConverter
-
- create() - Method in class com.owlike.genson.convert.DefaultConverters.TreeSetConverter
-
- create(Type, Genson) - Method in class com.owlike.genson.convert.DefaultConverters.UntypedConverterFactory
-
- create(Type, Genson, Converter<?>) - Method in class com.owlike.genson.convert.NullConverterFactory
-
- create(Type, Genson, Converter<?>) - Method in class com.owlike.genson.convert.RuntimeTypeConverter.RuntimeTypeConverterFactory
-
- create(Type, Genson) - Method in class com.owlike.genson.ext.jodatime.IntervalConverter.ConverterFactory
-
- create(Type, Genson) - Method in interface com.owlike.genson.Factory
-
Implementations of this method must try to create an instance of type T based on the
parameter "type".
- create() - Method in class com.owlike.genson.GensonBuilder
-
Creates an instance of Genson.
- create(Factory<Converter<?>>, Map<String, Class<?>>) - Method in class com.owlike.genson.GensonBuilder
-
In theory this allows you to extend Genson class and to instantiate it, but actually you
can not do it as Genson class is final.
- create(Type, Genson) - Method in class com.owlike.genson.reflect.AbstractBeanDescriptorProvider.ContextualFactoryDecorator
-
- create(Class<T>, Type, BeanCreator, List<PropertyAccessor>, Map<String, PropertyMutator>, Genson) - Method in class com.owlike.genson.reflect.AbstractBeanDescriptorProvider
-
Creates an instance of BeanDescriptor based on the passed arguments.
- create(Object...) - Method in class com.owlike.genson.reflect.BeanCreator.ConstructorBeanCreator
-
- create(Object...) - Method in class com.owlike.genson.reflect.BeanCreator
-
- create(Object...) - Method in class com.owlike.genson.reflect.BeanCreator.MethodBeanCreator
-
- createAccessor(String, Field, Type, Genson) - Method in class com.owlike.genson.reflect.BeanPropertyFactory.CompositeFactory
-
- createAccessor(String, Method, Type, Genson) - Method in class com.owlike.genson.reflect.BeanPropertyFactory.CompositeFactory
-
- createAccessor(String, Field, Type, Genson) - Method in interface com.owlike.genson.reflect.BeanPropertyFactory
-
- createAccessor(String, Method, Type, Genson) - Method in interface com.owlike.genson.reflect.BeanPropertyFactory
-
- createAccessor(String, Field, Type, Genson) - Method in class com.owlike.genson.reflect.BeanPropertyFactory.StandardFactory
-
- createAccessor(String, Method, Type, Genson) - Method in class com.owlike.genson.reflect.BeanPropertyFactory.StandardFactory
-
- createAccessor(String, Method, Type, Genson) - Method in class com.owlike.genson.reflect.BeanViewDescriptorProvider.BeanViewPropertyFactory
-
- createAccessor(String, Field, Type, Genson) - Method in class com.owlike.genson.reflect.BeanViewDescriptorProvider.BeanViewPropertyFactory
-
- createArrayBuilder() - Method in class com.owlike.genson.ext.jsr353.GensonJsonBuilderFactory
-
- createArrayBuilder() - Method in class com.owlike.genson.ext.jsr353.GensonJsonProvider
-
- createBeanDescriptorProvider(AbstractBeanDescriptorProvider.ContextualConverterFactory, BeanPropertyFactory, BeanMutatorAccessorResolver, PropertyNameResolver, GensonBuilder) - Method in class com.owlike.genson.ext.GensonBundle
-
- createBeanDescriptorProvider() - Method in class com.owlike.genson.GensonBuilder
-
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.
- createBeanMutatorAccessorResolver() - Method in class com.owlike.genson.GensonBuilder
-
- createBeanPropertyFactory() - Method in class com.owlike.genson.GensonBuilder
-
- createBuilderFactory(Map<String, ?>) - Method in class com.owlike.genson.ext.jsr353.GensonJsonProvider
-
- createConverterFactory() - Method in class com.owlike.genson.GensonBuilder
-
You should override this method if you want to add custom
ChainedFactory
or if you need to chain
them differently.
- createCreator(Type, Constructor<?>, String[], Genson) - Method in class com.owlike.genson.reflect.BeanPropertyFactory.CompositeFactory
-
- createCreator(Type, Method, String[], Genson) - Method in class com.owlike.genson.reflect.BeanPropertyFactory.CompositeFactory
-
- createCreator(Type, Constructor<?>, String[], Genson) - Method in interface com.owlike.genson.reflect.BeanPropertyFactory
-
- createCreator(Type, Method, String[], Genson) - Method in interface com.owlike.genson.reflect.BeanPropertyFactory
-
- createCreator(Type, Method, String[], Genson) - Method in class com.owlike.genson.reflect.BeanPropertyFactory.StandardFactory
-
- createCreator(Type, Constructor<?>, String[], Genson) - Method in class com.owlike.genson.reflect.BeanPropertyFactory.StandardFactory
-
- createCreator(Type, Constructor<?>, String[], Genson) - Method in class com.owlike.genson.reflect.BeanViewDescriptorProvider.BeanViewPropertyFactory
-
- createCreator(Type, Method, String[], Genson) - Method in class com.owlike.genson.reflect.BeanViewDescriptorProvider.BeanViewPropertyFactory
-
- createGenerator(Writer) - Method in class com.owlike.genson.ext.jsr353.GensonJsonGeneratorFactory
-
- createGenerator(OutputStream) - Method in class com.owlike.genson.ext.jsr353.GensonJsonGeneratorFactory
-
- createGenerator(OutputStream, Charset) - Method in class com.owlike.genson.ext.jsr353.GensonJsonGeneratorFactory
-
- createGenerator(Writer) - Method in class com.owlike.genson.ext.jsr353.GensonJsonProvider
-
- createGenerator(OutputStream) - Method in class com.owlike.genson.ext.jsr353.GensonJsonProvider
-
- createGeneratorFactory(Map<String, ?>) - Method in class com.owlike.genson.ext.jsr353.GensonJsonProvider
-
- createMutator(String, Field, Type, Genson) - Method in class com.owlike.genson.reflect.BeanPropertyFactory.CompositeFactory
-
- createMutator(String, Method, Type, Genson) - Method in class com.owlike.genson.reflect.BeanPropertyFactory.CompositeFactory
-
- createMutator(String, Field, Type, Genson) - Method in interface com.owlike.genson.reflect.BeanPropertyFactory
-
- createMutator(String, Method, Type, Genson) - Method in interface com.owlike.genson.reflect.BeanPropertyFactory
-
- createMutator(String, Field, Type, Genson) - Method in class com.owlike.genson.reflect.BeanPropertyFactory.StandardFactory
-
- createMutator(String, Method, Type, Genson) - Method in class com.owlike.genson.reflect.BeanPropertyFactory.StandardFactory
-
- createMutator(String, Method, Type, Genson) - Method in class com.owlike.genson.reflect.BeanViewDescriptorProvider.BeanViewPropertyFactory
-
- createMutator(String, Field, Type, Genson) - Method in class com.owlike.genson.reflect.BeanViewDescriptorProvider.BeanViewPropertyFactory
-
- createObjectBuilder() - Method in class com.owlike.genson.ext.jsr353.GensonJsonBuilderFactory
-
- createObjectBuilder() - Method in class com.owlike.genson.ext.jsr353.GensonJsonProvider
-
- createParser(Reader) - Method in class com.owlike.genson.ext.jsr353.GensonJsonParserFactory
-
- createParser(InputStream) - Method in class com.owlike.genson.ext.jsr353.GensonJsonParserFactory
-
- createParser(InputStream, Charset) - Method in class com.owlike.genson.ext.jsr353.GensonJsonParserFactory
-
- createParser(JsonObject) - Method in class com.owlike.genson.ext.jsr353.GensonJsonParserFactory
-
- createParser(JsonArray) - Method in class com.owlike.genson.ext.jsr353.GensonJsonParserFactory
-
- createParser(Reader) - Method in class com.owlike.genson.ext.jsr353.GensonJsonProvider
-
- createParser(InputStream) - Method in class com.owlike.genson.ext.jsr353.GensonJsonProvider
-
- createParserFactory(Map<String, ?>) - Method in class com.owlike.genson.ext.jsr353.GensonJsonProvider
-
- createPropertyNameResolver() - Method in class com.owlike.genson.GensonBuilder
-
You can override this method if you want to change the
PropertyNameResolver
that are
registered by default.
- createReader(InputStream) - Method in class com.owlike.genson.EncodingAwareReaderFactory
-
Creates java.io.Reader instances with detected encoding from the input stream
using BOM if present or JSON spec.
- createReader(Reader) - Method in class com.owlike.genson.ext.jsr353.GensonJsonProvider
-
- createReader(InputStream) - Method in class com.owlike.genson.ext.jsr353.GensonJsonProvider
-
- createReader(Reader) - Method in class com.owlike.genson.ext.jsr353.GensonJsonReaderFactory
-
- createReader(InputStream) - Method in class com.owlike.genson.ext.jsr353.GensonJsonReaderFactory
-
- createReader(InputStream, Charset) - Method in class com.owlike.genson.ext.jsr353.GensonJsonReaderFactory
-
- createReader(byte[]) - Method in class com.owlike.genson.Genson
-
- createReader(InputStream) - Method in class com.owlike.genson.Genson
-
Creates a new ObjectReader with this Genson instance configuration and tries to detect the encoding
from the stream content.
- createReader(InputStream, Charset) - Method in class com.owlike.genson.Genson
-
Creates a new ObjectReader with this Genson instance configuration.
- createReader(Reader) - Method in class com.owlike.genson.Genson
-
Creates a new ObjectReader with this Genson instance configuration.
- createReaderFactory(Map<String, ?>) - Method in class com.owlike.genson.ext.jsr353.GensonJsonProvider
-
- createWriter(Writer) - Method in class com.owlike.genson.ext.jsr353.GensonJsonProvider
-
- createWriter(OutputStream) - Method in class com.owlike.genson.ext.jsr353.GensonJsonProvider
-
- createWriter(Writer) - Method in class com.owlike.genson.ext.jsr353.GensonJsonWriterFactory
-
- createWriter(OutputStream) - Method in class com.owlike.genson.ext.jsr353.GensonJsonWriterFactory
-
- createWriter(OutputStream, Charset) - Method in class com.owlike.genson.ext.jsr353.GensonJsonWriterFactory
-
- createWriter(OutputStream) - Method in class com.owlike.genson.Genson
-
Creates a new ObjectWriter with this Genson instance configuration and default encoding to
UTF8.
- createWriter(OutputStream, Charset) - Method in class com.owlike.genson.Genson
-
Creates a new ObjectWriter with this Genson instance configuration.
- createWriter(Writer) - Method in class com.owlike.genson.Genson
-
Creates a new ObjectWriter with this Genson instance configuration.
- createWriterFactory(Map<String, ?>) - Method in class com.owlike.genson.ext.jsr353.GensonJsonProvider
-
- creator - Variable in class com.owlike.genson.reflect.BeanCreator.BeanCreatorProperty
-
- serialize(T, ObjectWriter, Context) - Method in class com.owlike.genson.convert.BeanViewConverter
-
- serialize(T, ObjectWriter, Context) - Method in class com.owlike.genson.convert.ClassMetadataConverter
-
- serialize(Object, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.ArrayConverter
-
- serialize(BigDecimal, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.BigDecimalConverter
-
- serialize(BigInteger, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.BigIntegerConverter
-
- serialize(Boolean, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.BooleanConverter
-
- serialize(byte[], ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.ByteArrayAsIntArrayConverter
-
- serialize(byte[], ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.ByteArrayConverter
-
- serialize(Byte, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.ByteConverter
-
- serialize(Calendar, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.CalendarConverter
-
- serialize(Character, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.CharConverter
-
- serialize(Collection<E>, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.CollectionConverter
-
- serialize(Map<K, V>, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.ComplexMapConverter
-
- serialize(Date, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.DateConverter
-
- serialize(Double, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.DoubleConverter
-
- serialize(T, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.EnumConverter
-
- serialize(File, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.FileConverter
-
- serialize(Float, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.FloatConverter
-
- serialize(Integer, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.IntegerConverter
-
- serialize(Long, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.LongConverter
-
- serialize(Map<K, V>, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.MapConverter
-
- serialize(Number, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.NumberConverter
-
- serialize(Collection<E>, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.PriorityQueueConverter
-
- serialize(Short, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.ShortConverter
-
- serialize(String, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.StringConverter
-
- serialize(Timestamp, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.TimestampConverter
-
- serialize(Map<K, V>, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.TreeMapConverter
-
- serialize(Collection<E>, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.TreeSetConverter
-
- serialize(Object, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.UntypedConverterFactory.UntypedConverter
-
- serialize(URI, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.URIConverter
-
- serialize(URL, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.URLConverter
-
- serialize(UUID, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.UUIDConverter
-
- serialize(T, ObjectWriter, Context) - Method in class com.owlike.genson.convert.DefaultConverters.WrappedRootValueConverter
-
- serialize(T, ObjectWriter, Context) - Method in class com.owlike.genson.convert.RuntimeTypeConverter
-
- serialize(T, ObjectWriter, Context) - Method in interface com.owlike.genson.Converter
-
- serialize(Optional<T>, ObjectWriter, Context) - Method in class com.owlike.genson.ext.guava.OptionalConverter
-
- serialize(T, ObjectWriter, Context) - Method in class com.owlike.genson.ext.jodatime.BaseLocalConverter
-
- serialize(ReadableInstant, ObjectWriter, Context) - Method in class com.owlike.genson.ext.jodatime.BaseReadableInstantConverter
-
- serialize(Duration, ObjectWriter, Context) - Method in class com.owlike.genson.ext.jodatime.DurationConverter
-
- serialize(Interval, ObjectWriter, Context) - Method in class com.owlike.genson.ext.jodatime.IntervalConverter
-
- serialize(Period, ObjectWriter, Context) - Method in class com.owlike.genson.ext.jodatime.PeriodConverter
-
- serialize(JsonValue, ObjectWriter, Context) - Method in class com.owlike.genson.ext.jsr353.JSR353Bundle.JsonValueConverter
-
- serialize(Object) - Method in class com.owlike.genson.Genson
-
Serializes the object into a json string.
- serialize(Object, GenericType<?>) - Method in class com.owlike.genson.Genson
-
Serializes the object using the type of GenericType instead of using its runtime type.
- serialize(Object, Class<? extends BeanView<?>>, Class<? extends BeanView<?>>...) - Method in class com.owlike.genson.Genson
-
Serializes the object using the specified BeanViews.
- serialize(Object, Writer) - Method in class com.owlike.genson.Genson
-
Serializes this object to the passed Writer, as Genson did not instantiate it, you are
responsible of calling close on it.
- serialize(Object, OutputStream) - Method in class com.owlike.genson.Genson
-
Serializes this object to the passed OutputStream, as Genson did not instantiate it, you are
responsible of calling close on it.
- serialize(Object, ObjectWriter, Context) - Method in class com.owlike.genson.Genson
-
Serializes this object and writes its representation to writer.
- serialize(Object, Type, ObjectWriter, Context) - Method in class com.owlike.genson.Genson
-
Serializes this object and writes its representation to writer.
- serialize(T, ObjectWriter, Context) - Method in class com.owlike.genson.reflect.BeanDescriptor
-
- serialize(Object, ObjectWriter, Context) - Method in class com.owlike.genson.reflect.PropertyAccessor
-
- serialize(T, ObjectWriter, Context) - Method in interface com.owlike.genson.Serializer
-
- serializeBytes(Object) - Method in class com.owlike.genson.Genson
-
Serializes this object to its json form in a byte array.
- Serializer<T> - Interface in com.owlike.genson
-
Serializers handle serialization by writing a java object of type T to a stream using
ObjectWriter
.
- set(BeanMutatorAccessorResolver) - Method in class com.owlike.genson.GensonBuilder
-
- set(PropertyNameResolver) - Method in class com.owlike.genson.GensonBuilder
-
- setConstructorFilter(VisibilityFilter) - Method in class com.owlike.genson.GensonBuilder
-
- SetConverter(Class<E>, Converter<E>) - Constructor for class com.owlike.genson.convert.DefaultConverters.SetConverter
-
- setFieldFilter(VisibilityFilter) - Method in class com.owlike.genson.GensonBuilder
-
- setHtmlSafe(boolean) - Method in class com.owlike.genson.GensonBuilder
-
If true \,<,>,&,= characters will be replaced by ', <, >, &, =
- setMethodFilter(VisibilityFilter) - Method in class com.owlike.genson.GensonBuilder
-
- setSkipNull(boolean) - Method in class com.owlike.genson.GensonBuilder
-
If true will not serialize null values
- settersMustBeVoid(boolean) - Method in class com.owlike.genson.GensonBuilder
-
If true, only setters with a return type of void will be considered when deserializing.
- setThrowExceptionIfNoDebugInfo(boolean) - Method in class com.owlike.genson.GensonBuilder
-
- shortAdapter - Static variable in class com.owlike.genson.convert.DefaultConverters.KeyAdapter
-
- shouldInclude(BeanProperty, Context) - Method in class com.owlike.genson.ext.jaxrs.UrlQueryParamFilter
-
- shouldInclude(BeanProperty, Context) - Method in interface com.owlike.genson.reflect.RuntimePropertyFilter
-
- signature() - Method in class com.owlike.genson.reflect.BeanCreator.BeanCreatorProperty
-
- signature() - Method in class com.owlike.genson.reflect.BeanCreator.ConstructorBeanCreator
-
- signature() - Method in class com.owlike.genson.reflect.BeanCreator.MethodBeanCreator
-
- signature() - Method in class com.owlike.genson.reflect.BeanCreator
-
- signature() - Method in class com.owlike.genson.reflect.PropertyAccessor.FieldAccessor
-
- signature() - Method in class com.owlike.genson.reflect.PropertyMutator.FieldMutator
-
- signature() - Method in class com.owlike.genson.reflect.PropertyMutator.MethodMutator
-
- SKIP_NULL - Static variable in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- SKIPPED_TOKENS - Static variable in class com.owlike.genson.stream.JsonReader
-
- skipValue() - Method in class com.owlike.genson.stream.JsonReader
-
- skipValue() - Method in interface com.owlike.genson.stream.ObjectReader
-
If the value is of complex type it will skip its content.
- splitBy(String) - Method in class com.owlike.genson.ext.jaxrs.UrlQueryParamFilter
-
When defined it will be used to split every param value into property names.
- StandardFactory() - Constructor for class com.owlike.genson.reflect.BeanPropertyFactory.StandardFactory
-
- StandardMutaAccessorResolver() - Constructor for class com.owlike.genson.reflect.BeanMutatorAccessorResolver.StandardMutaAccessorResolver
-
- StandardMutaAccessorResolver(VisibilityFilter, VisibilityFilter, VisibilityFilter, boolean) - Constructor for class com.owlike.genson.reflect.BeanMutatorAccessorResolver.StandardMutaAccessorResolver
-
Use this constructor if you want to customize the visibility filtering.
- store(String, Object) - Method in class com.owlike.genson.Context
-
Puts the object o in the current context indexed by key.
- store(String, Object) - Static method in class com.owlike.genson.ThreadLocalHolder
-
- strAdapter - Static variable in class com.owlike.genson.convert.DefaultConverters.KeyAdapter
-
- STRICT_DOUBLE_PARSE - Static variable in class com.owlike.genson.ext.jsr353.GensonJsonParser
-
- supports(Class<?>) - Method in class com.owlike.genson.ext.spring.GensonMessageConverter
-
- with(BeanMutatorAccessorResolver...) - Method in class com.owlike.genson.GensonBuilder
-
Register additional BeanMutatorAccessorResolver that will be used before the standard
ones.
- with(PropertyNameResolver...) - Method in class com.owlike.genson.GensonBuilder
-
Registers the specified resolvers in the order they were defined and before the standard
ones.
- withBeanPropertyFactory(BeanPropertyFactory...) - Method in class com.owlike.genson.GensonBuilder
-
Allows you to register new BeanPropertyFactory responsible of creating BeanProperty
accessors, mutators and BeanCreators.
- WithBeanView - Annotation Type in com.owlike.genson.annotation
-
Annotation used actually only in spring web integration
GensonMessageConverter
to indicate
at runtime what BeanView must be used.
- withBundle(GensonBundle...) - Method in class com.owlike.genson.GensonBuilder
-
Register some genson bundles.
- withClassLoader(ClassLoader) - Method in class com.owlike.genson.GensonBuilder
-
Override the default classloader
- withContextualFactory(ContextualFactory<?>...) - Method in class com.owlike.genson.GensonBuilder
-
ContextualFactory is actually in a beta status, it will not be removed, but might be
refactored.
- withConverter(Converter<T>, Class<? extends T>) - Method in class com.owlike.genson.GensonBuilder
-
Register converter by mapping it to type argument.
- withConverter(Converter<T>, GenericType<? extends T>) - Method in class com.owlike.genson.GensonBuilder
-
Register converter by mapping it to the parameterized type of type argument.
- withConverterFactory(Factory<? extends Converter<?>>) - Method in class com.owlike.genson.GensonBuilder
-
Registers converter factories.
- withConverterFactory(ChainedFactory) - Method in class com.owlike.genson.GensonBuilder
-
A ChainedFactory provides a way to use custom Converters that have access to the default Converters.
- withConverters(Converter<?>...) - Method in class com.owlike.genson.GensonBuilder
-
Registers converters mapping them to their corresponding parameterized type.
- withDeserializer(Deserializer<T>, Class<? extends T>) - Method in class com.owlike.genson.GensonBuilder
-
- withDeserializer(Deserializer<T>, GenericType<? extends T>) - Method in class com.owlike.genson.GensonBuilder
-
- withDeserializerFactory(Factory<? extends Deserializer<?>>) - Method in class com.owlike.genson.GensonBuilder
-
Registers deserializer factories.
- withDeserializers(Deserializer<?>...) - Method in class com.owlike.genson.GensonBuilder
-
- withNext(T) - Method in class com.owlike.genson.convert.ChainedFactory
-
Chains this factory with next and returns next (the tail) so you can do things like
chain1.withNext(new chain2).withNext(new chain3); the resulting chain is
chain1=>chain2=>chain3.
- withSerializer(Serializer<T>, Class<? extends T>) - Method in class com.owlike.genson.GensonBuilder
-
- withSerializer(Serializer<T>, GenericType<? extends T>) - Method in class com.owlike.genson.GensonBuilder
-
- withSerializerFactory(Factory<? extends Serializer<?>>) - Method in class com.owlike.genson.GensonBuilder
-
Registers serializer factories.
- withSerializers(Serializer<?>...) - Method in class com.owlike.genson.GensonBuilder
-
- withView(Class<? extends BeanView<?>>) - Method in class com.owlike.genson.Context
-
- wrap(Class<?>) - Static method in class com.owlike.genson.reflect.TypeUtil
-
- wrapped - Variable in class com.owlike.genson.Wrapper
-
- WrappedRootValueConverter(String, String, Converter<T>) - Constructor for class com.owlike.genson.convert.DefaultConverters.WrappedRootValueConverter
-
- Wrapper<T> - Class in com.owlike.genson
-
Wrapper class must be extended by decorated converters that wrap other converters.
- Wrapper() - Constructor for class com.owlike.genson.Wrapper
-
- Wrapper(T) - Constructor for class com.owlike.genson.Wrapper
-
- wrapRootValues(boolean) - Method in class com.owlike.genson.ext.jaxb.JAXBBundle
-
When enabled allows to use @XmlRootElement annotation on root objects to wrap them inside a object under some key.
- wrapRootValues(String, String) - Method in class com.owlike.genson.GensonBuilder
-
Will wrap all the root objects under outputKey during serializaiton and unwrap the content under
inputKey during deserializaiton.
- write(String, JsonValue) - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- write(String, String) - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- write(String, BigInteger) - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- write(String, BigDecimal) - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- write(String, int) - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- write(String, long) - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- write(String, double) - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- write(String, boolean) - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- write(JsonValue) - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- write(String) - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- write(BigDecimal) - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- write(BigInteger) - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- write(int) - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- write(long) - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- write(double) - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- write(boolean) - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- writeBoolean(Boolean) - Method in class com.owlike.genson.stream.JsonWriter
-
- writeBoolean(String, Boolean) - Method in class com.owlike.genson.stream.JsonWriter
-
- writeBoolean(Boolean) - Method in interface com.owlike.genson.stream.ObjectWriter
-
- writeBoolean(String, Boolean) - Method in interface com.owlike.genson.stream.ObjectWriter
-
- writeBytes(byte[]) - Method in class com.owlike.genson.stream.JsonWriter
-
- writeBytes(String, byte[]) - Method in class com.owlike.genson.stream.JsonWriter
-
- writeBytes(byte[]) - Method in interface com.owlike.genson.stream.ObjectWriter
-
- writeBytes(String, byte[]) - Method in interface com.owlike.genson.stream.ObjectWriter
-
- writeEnd() - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- writeEscapedName(char[]) - Method in class com.owlike.genson.stream.JsonWriter
-
- writeEscapedName(char[]) - Method in interface com.owlike.genson.stream.ObjectWriter
-
Will write the name without escaping special characters, assuming it has been done by the caller or the string
doesn't contain any character needing to be escaped.
- writeInt(long) - Method in class com.owlike.genson.stream.JsonWriter
-
- writeInternal(Object, HttpOutputMessage) - Method in class com.owlike.genson.ext.spring.GensonMessageConverter
-
- writeMetadata(String, String) - Method in class com.owlike.genson.stream.JsonWriter
-
- writeMetadata(String, String) - Method in interface com.owlike.genson.stream.ObjectWriter
-
Metadata is a suite of name/value pairs, names will be prepended with '@' (handled by the
library).
- writeName(String) - Method in class com.owlike.genson.stream.JsonWriter
-
- writeName(String) - Method in interface com.owlike.genson.stream.ObjectWriter
-
Writes the name of a property.
- writeNull(String) - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- writeNull() - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- writeNull() - Method in class com.owlike.genson.stream.JsonWriter
-
- writeNull() - Method in interface com.owlike.genson.stream.ObjectWriter
-
Must be called when a null value is encountered.
- writeNumber(Number) - Method in class com.owlike.genson.stream.JsonWriter
-
- writeNumber(String, Number) - Method in class com.owlike.genson.stream.JsonWriter
-
- writeNumber(Number) - Method in interface com.owlike.genson.stream.ObjectWriter
-
- writeNumber(String, Number) - Method in interface com.owlike.genson.stream.ObjectWriter
-
- writeStartArray() - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- writeStartArray(String) - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- writeStartObject() - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- writeStartObject(String) - Method in class com.owlike.genson.ext.jsr353.GensonJsonGenerator
-
- writeString(String) - Method in class com.owlike.genson.stream.JsonWriter
-
- writeString(String, String) - Method in class com.owlike.genson.stream.JsonWriter
-
- writeString(String) - Method in interface com.owlike.genson.stream.ObjectWriter
-
Similar to writeValue(String) but is null safe, meaning that if the value is null,
then the write will call writeNull for you.
- writeString(String, String) - Method in interface com.owlike.genson.stream.ObjectWriter
-
Will write the name and the value, it is just a shortcut for writer.writeName("key").writeString(value).
- writeTo(Object, Class<?>, Type, Annotation[], MediaType, MultivaluedMap<String, Object>, OutputStream) - Method in class com.owlike.genson.ext.jaxrs.GensonJsonConverter
-
- writeUnsafeValue(String) - Method in class com.owlike.genson.stream.JsonWriter
-
- writeUnsafeValue(String) - Method in interface com.owlike.genson.stream.ObjectWriter
-
- writeValue(int) - Method in class com.owlike.genson.stream.JsonWriter
-
- writeValue(double) - Method in class com.owlike.genson.stream.JsonWriter
-
- writeValue(long) - Method in class com.owlike.genson.stream.JsonWriter
-
- writeValue(short) - Method in class com.owlike.genson.stream.JsonWriter
-
- writeValue(float) - Method in class com.owlike.genson.stream.JsonWriter
-
- writeValue(boolean) - Method in class com.owlike.genson.stream.JsonWriter
-
- writeValue(Number) - Method in class com.owlike.genson.stream.JsonWriter
-
- writeValue(byte[]) - Method in class com.owlike.genson.stream.JsonWriter
-
- writeValue(String) - Method in class com.owlike.genson.stream.JsonWriter
-
- writeValue(int) - Method in interface com.owlike.genson.stream.ObjectWriter
-
Writes a value to the stream.
- writeValue(double) - Method in interface com.owlike.genson.stream.ObjectWriter
-
- writeValue(long) - Method in interface com.owlike.genson.stream.ObjectWriter
-
- writeValue(short) - Method in interface com.owlike.genson.stream.ObjectWriter
-
- writeValue(float) - Method in interface com.owlike.genson.stream.ObjectWriter
-
- writeValue(boolean) - Method in interface com.owlike.genson.stream.ObjectWriter
-
- writeValue(Number) - Method in interface com.owlike.genson.stream.ObjectWriter
-
- writeValue(String) - Method in interface com.owlike.genson.stream.ObjectWriter
-
- writeValue(byte[]) - Method in interface com.owlike.genson.stream.ObjectWriter
-
Writes an array of bytes as a base64 encoded string.