public class CoreXMLSerializers extends Serializers.Base
Note: since many of classes defined are abstract, caller must take care not to just use straight equivalency check but rather consider subclassing as well.
Modifier and Type | Class and Description |
---|---|
static class |
CoreXMLSerializers.XMLGregorianCalendarSerializer |
Serializers.Base
Constructor and Description |
---|
CoreXMLSerializers() |
Modifier and Type | Method and Description |
---|---|
JsonSerializer<?> |
findSerializer(SerializationConfig config,
JavaType type,
BeanDescription beanDesc)
Method called by serialization framework first time a serializer is needed for
specified type, which is not of a container or reference type (for which
other methods are called).
|
findArraySerializer, findCollectionLikeSerializer, findCollectionSerializer, findMapLikeSerializer, findMapSerializer, findReferenceSerializer
public JsonSerializer<?> findSerializer(SerializationConfig config, JavaType type, BeanDescription beanDesc)
Serializers
findSerializer
in interface Serializers
findSerializer
in class Serializers.Base
config
- Serialization configuration in usetype
- Fully resolved type of instances to serializebeanDesc
- Additional information about typeCopyright © 2008–2022 FasterXML. All rights reserved.