public class ListConverter extends Object implements QiSerializer.Converter
Constructor and Description |
---|
ListConverter() |
Modifier and Type | Method and Description |
---|---|
boolean |
canDeserialize(Object object,
Type targetType) |
boolean |
canSerialize(Object object) |
List<?> |
deserialize(QiSerializer serializer,
Object object,
Type targetType) |
List<?> |
serialize(QiSerializer serializer,
Object object) |
public boolean canSerialize(Object object)
canSerialize
in interface QiSerializer.Converter
public List<?> 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 List<?> deserialize(QiSerializer serializer, Object object, Type targetType) throws QiConversionException
deserialize
in interface QiSerializer.Converter
QiConversionException
Copyright © 2020. All rights reserved.