@HandleClassMetadata public static class DefaultConverters.TreeSetConverter<E> extends DefaultConverters.CollectionConverter<E>
| Constructor and Description |
|---|
TreeSetConverter(Class<E> eClass,
Converter<E> elementConverter) |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<E> |
create() |
void |
serialize(Collection<E> array,
ObjectWriter writer,
Context ctx) |
deserialize, getElementConverterpublic void serialize(Collection<E> array, ObjectWriter writer, Context ctx) throws Exception
serialize in interface Converter<Collection<E>>serialize in interface Serializer<Collection<E>>serialize in class DefaultConverters.CollectionConverter<E>array - we want to serialize. The object is of type T or a subclass (if this serializer
has been registered for subclasses).writer - to use to write data to the output stream.ctx - the current context.JsonBindingExceptionJsonStreamExceptionExceptionprotected Collection<E> create()
create in class DefaultConverters.CollectionConverter<E>Copyright © 2019. All rights reserved.