@HandleClassMetadata @HandleBeanView public static final class DefaultConverters.CharConverter extends Object implements Converter<Character>
Modifier and Type | Field and Description |
---|---|
static DefaultConverters.CharConverter |
instance |
Modifier and Type | Method and Description |
---|---|
Character |
deserialize(ObjectReader reader,
Context ctx) |
void |
serialize(Character obj,
ObjectWriter writer,
Context ctx) |
public static final DefaultConverters.CharConverter instance
public void serialize(Character obj, ObjectWriter writer, Context ctx)
serialize
in interface Converter<Character>
serialize
in interface Serializer<Character>
obj
- 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.public Character deserialize(ObjectReader reader, Context ctx)
deserialize
in interface Converter<Character>
deserialize
in interface Deserializer<Character>
reader
- used to read data from.ctx
- the current context.Copyright © 2019. All rights reserved.