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.guava | |
com.owlike.genson.ext.jaxrs | |
com.owlike.genson.ext.jodatime | |
com.owlike.genson.ext.jsr353 | |
com.owlike.genson.reflect |
This package contains the core api providing databinding support for complex objects.
|
Modifier and Type | Method and Description |
---|---|
Context |
Context.withView(Class<? extends BeanView<?>> view) |
Modifier and Type | Method and Description |
---|---|
<T> T |
Genson.deserialize(GenericType<T> type,
ObjectReader reader,
Context ctx) |
T |
Deserializer.deserialize(ObjectReader reader,
Context ctx) |
T |
Converter.deserialize(ObjectReader reader,
Context ctx) |
<T> T |
Genson.deserializeInto(ObjectReader reader,
T object,
Context ctx)
Deserializes the stream in the existing object.
|
void |
Genson.serialize(Object object,
ObjectWriter writer,
Context ctx)
Serializes this object and writes its representation to writer.
|
void |
Genson.serialize(Object object,
Type type,
ObjectWriter writer,
Context ctx)
Serializes this object and writes its representation to writer.
|
void |
Serializer.serialize(T object,
ObjectWriter writer,
Context ctx) |
void |
Converter.serialize(T object,
ObjectWriter writer,
Context ctx) |
Modifier and Type | Method and Description |
---|---|
T |
RuntimeTypeConverter.deserialize(ObjectReader reader,
Context ctx) |
Collection<E> |
DefaultConverters.CollectionConverter.deserialize(ObjectReader reader,
Context ctx) |
Object |
DefaultConverters.ArrayConverter.deserialize(ObjectReader reader,
Context ctx) |
byte[] |
DefaultConverters.ByteArrayConverter.deserialize(ObjectReader reader,
Context ctx) |
byte[] |
DefaultConverters.ByteArrayAsIntArrayConverter.deserialize(ObjectReader reader,
Context ctx) |
String |
DefaultConverters.StringConverter.deserialize(ObjectReader reader,
Context ctx) |
Boolean |
DefaultConverters.BooleanConverter.deserialize(ObjectReader reader,
Context ctx) |
Integer |
DefaultConverters.IntegerConverter.deserialize(ObjectReader reader,
Context ctx) |
Long |
DefaultConverters.LongConverter.deserialize(ObjectReader reader,
Context ctx) |
Short |
DefaultConverters.ShortConverter.deserialize(ObjectReader reader,
Context ctx) |
Double |
DefaultConverters.DoubleConverter.deserialize(ObjectReader reader,
Context ctx) |
Float |
DefaultConverters.FloatConverter.deserialize(ObjectReader reader,
Context ctx) |
Number |
DefaultConverters.NumberConverter.deserialize(ObjectReader reader,
Context ctx) |
Character |
DefaultConverters.CharConverter.deserialize(ObjectReader reader,
Context ctx) |
Byte |
DefaultConverters.ByteConverter.deserialize(ObjectReader reader,
Context ctx) |
Map<K,V> |
DefaultConverters.MapConverter.deserialize(ObjectReader reader,
Context ctx) |
Map<K,V> |
DefaultConverters.ComplexMapConverter.deserialize(ObjectReader reader,
Context ctx) |
Date |
DefaultConverters.DateConverter.deserialize(ObjectReader reader,
Context ctx) |
Object |
DefaultConverters.UntypedConverterFactory.UntypedConverter.deserialize(ObjectReader reader,
Context ctx) |
T |
DefaultConverters.EnumConverter.deserialize(ObjectReader reader,
Context ctx) |
URL |
DefaultConverters.URLConverter.deserialize(ObjectReader reader,
Context ctx) |
URI |
DefaultConverters.URIConverter.deserialize(ObjectReader reader,
Context ctx) |
BigDecimal |
DefaultConverters.BigDecimalConverter.deserialize(ObjectReader reader,
Context ctx) |
BigInteger |
DefaultConverters.BigIntegerConverter.deserialize(ObjectReader reader,
Context ctx) |
Timestamp |
DefaultConverters.TimestampConverter.deserialize(ObjectReader reader,
Context ctx) |
UUID |
DefaultConverters.UUIDConverter.deserialize(ObjectReader reader,
Context ctx) |
Calendar |
DefaultConverters.CalendarConverter.deserialize(ObjectReader reader,
Context ctx) |
File |
DefaultConverters.FileConverter.deserialize(ObjectReader reader,
Context ctx) |
T |
DefaultConverters.WrappedRootValueConverter.deserialize(ObjectReader reader,
Context ctx) |
T |
ClassMetadataConverter.deserialize(ObjectReader reader,
Context ctx) |
T |
BeanViewConverter.deserialize(ObjectReader reader,
Context ctx) |
void |
DefaultConverters.BigDecimalConverter.serialize(BigDecimal object,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.BigIntegerConverter.serialize(BigInteger object,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.BooleanConverter.serialize(Boolean obj,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.ByteArrayConverter.serialize(byte[] object,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.ByteArrayAsIntArrayConverter.serialize(byte[] object,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.ByteConverter.serialize(Byte obj,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.CalendarConverter.serialize(Calendar object,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.CharConverter.serialize(Character obj,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.TreeSetConverter.serialize(Collection<E> array,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.PriorityQueueConverter.serialize(Collection<E> array,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.CollectionConverter.serialize(Collection<E> array,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.DateConverter.serialize(Date obj,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.DoubleConverter.serialize(Double obj,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.FileConverter.serialize(File object,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.FloatConverter.serialize(Float obj,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.IntegerConverter.serialize(Integer obj,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.LongConverter.serialize(Long obj,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.MapConverter.serialize(Map<K,V> obj,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.TreeMapConverter.serialize(Map<K,V> obj,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.ComplexMapConverter.serialize(Map<K,V> object,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.NumberConverter.serialize(Number obj,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.ArrayConverter.serialize(Object array,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.UntypedConverterFactory.UntypedConverter.serialize(Object obj,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.ShortConverter.serialize(Short obj,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.StringConverter.serialize(String value,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.TimestampConverter.serialize(Timestamp object,
ObjectWriter writer,
Context ctx) |
void |
RuntimeTypeConverter.serialize(T obj,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.EnumConverter.serialize(T obj,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.WrappedRootValueConverter.serialize(T object,
ObjectWriter writer,
Context ctx) |
void |
ClassMetadataConverter.serialize(T obj,
ObjectWriter writer,
Context ctx) |
void |
BeanViewConverter.serialize(T obj,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.URIConverter.serialize(URI object,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.URLConverter.serialize(URL object,
ObjectWriter writer,
Context ctx) |
void |
DefaultConverters.UUIDConverter.serialize(UUID object,
ObjectWriter writer,
Context ctx) |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<T> |
OptionalConverter.deserialize(ObjectReader reader,
Context ctx) |
void |
OptionalConverter.serialize(com.google.common.base.Optional<T> object,
ObjectWriter writer,
Context ctx) |
Modifier and Type | Method and Description |
---|---|
boolean |
UrlQueryParamFilter.shouldInclude(BeanProperty property,
Context ctx) |
Modifier and Type | Method and Description |
---|---|
org.joda.time.Period |
PeriodConverter.deserialize(ObjectReader reader,
Context ctx) |
org.joda.time.Interval |
IntervalConverter.deserialize(ObjectReader reader,
Context ctx) |
org.joda.time.Duration |
DurationConverter.deserialize(ObjectReader reader,
Context ctx) |
T |
BaseReadableInstantConverter.deserialize(ObjectReader reader,
Context ctx) |
T |
BaseLocalConverter.deserialize(ObjectReader reader,
Context ctx) |
void |
DurationConverter.serialize(org.joda.time.Duration object,
ObjectWriter writer,
Context ctx) |
void |
IntervalConverter.serialize(org.joda.time.Interval interval,
ObjectWriter writer,
Context ctx) |
void |
PeriodConverter.serialize(org.joda.time.Period object,
ObjectWriter writer,
Context ctx) |
void |
BaseReadableInstantConverter.serialize(org.joda.time.ReadableInstant object,
ObjectWriter writer,
Context ctx) |
void |
BaseLocalConverter.serialize(T object,
ObjectWriter writer,
Context ctx) |
Modifier and Type | Method and Description |
---|---|
javax.json.JsonValue |
JSR353Bundle.JsonValueConverter.deserArray(ObjectReader reader,
Context ctx) |
javax.json.JsonValue |
JSR353Bundle.JsonValueConverter.deserialize(ObjectReader reader,
Context ctx) |
javax.json.JsonValue |
JSR353Bundle.JsonValueConverter.deserObject(ObjectReader reader,
Context ctx) |
void |
JSR353Bundle.JsonValueConverter.serialize(javax.json.JsonValue value,
ObjectWriter writer,
Context ctx) |
Modifier and Type | Method and Description |
---|---|
protected T |
BeanDescriptor._deserWithCtrArgs(ObjectReader reader,
Context ctx) |
void |
PropertyMutator.deserialize(Object into,
ObjectReader reader,
Context ctx) |
Object |
PropertyMutator.deserialize(ObjectReader reader,
Context ctx) |
T |
BeanDescriptor.deserialize(ObjectReader reader,
Context ctx) |
void |
BeanDescriptor.deserialize(T into,
ObjectReader reader,
Context ctx) |
void |
PropertyAccessor.serialize(Object propertySource,
ObjectWriter writer,
Context ctx) |
void |
BeanDescriptor.serialize(T obj,
ObjectWriter writer,
Context ctx) |
boolean |
RuntimePropertyFilter.shouldInclude(BeanProperty property,
Context ctx) |
Copyright © 2019. All rights reserved.