Genson
.See: Description
Interface | Description |
---|---|
BeanView<T> |
Interface to be implemented by classes who want to act as a view on objects of type T during
serialization and deserializaiton.
|
Converter<T> |
Converter interface is a shorthand for classes who want to implement both serialization and
deserialization.
|
Deserializer<T> |
Deserializers handle deserialization by reading data form
ObjectReader and constructing java objects of type T. |
Factory<T> |
Factory interface must be implemented by classes who want to act as factories and create
instances of Converter/Serializer/Deserializer.
|
Serializer<T> |
Serializers handle serialization by writing a java object of type T to a stream using
ObjectWriter . |
Class | Description |
---|---|
Context |
The context class is intended to be a statefull class shared across a single execution.
|
EncodingAwareReaderFactory |
This is an internal class that might evolve in the future into a JsonReader Factory and be moved
to the stream package.
|
GenericType<T> |
This class is a holder for generic types so we can work around type erasure.
|
Genson |
Main class of the library.
|
Genson.Builder | Deprecated
use GensonBuilder
|
GensonBuilder |
Use the GensonBuilder class when you want to create a custom Genson instance.
|
Operations | |
ThreadLocalHolder |
Just another data holder that stores data in a threadlocal map.
|
Wrapper<T> |
Wrapper class must be extended by decorated converters that wrap other converters.
|
Enum | Description |
---|---|
Trilean |
A boolean with 3 states : true, false and unknown.
|
Exception | Description |
---|---|
JsonBindingException |
Genson
.Copyright © 2019. All rights reserved.