public static interface QiSerializer.Converter
Implement this interface if a custom converter is needed.
Modifier and Type | Method and Description |
---|---|
boolean |
canDeserialize(Object object,
Type targetType) |
boolean |
canSerialize(Object object) |
Object |
deserialize(QiSerializer serializer,
Object object,
Type targetType) |
Object |
serialize(QiSerializer serializer,
Object object) |
boolean canSerialize(Object object)
Object serialize(QiSerializer serializer, Object object) throws QiConversionException
QiConversionException
Object deserialize(QiSerializer serializer, Object object, Type targetType) throws QiConversionException
QiConversionException
Copyright © 2020. All rights reserved.