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