public class StructConverter extends Object implements QiSerializer.Converter
Constructor and Description |
---|
StructConverter() |
Modifier and Type | Method and Description |
---|---|
boolean |
canDeserialize(Object object,
Type targetType) |
boolean |
canSerialize(Object object) |
Object |
deserialize(QiSerializer serializer,
Object object,
Type targetType) |
Tuple |
serialize(QiSerializer serializer,
Object object) |
public boolean canSerialize(Object object)
canSerialize
in interface QiSerializer.Converter
public Tuple serialize(QiSerializer serializer, Object object) throws QiConversionException
serialize
in interface QiSerializer.Converter
QiConversionException
public boolean canDeserialize(Object object, Type targetType)
canDeserialize
in interface QiSerializer.Converter
public Object deserialize(QiSerializer serializer, Object object, Type targetType) throws QiConversionException
deserialize
in interface QiSerializer.Converter
QiConversionException
Copyright © 2020. All rights reserved.