Top Description Fields Constructors Methods
tools.jackson.databind.ser.jdk

public Class JDKCoreSerializers

extends Object
Class Inheritance
Imports
java.math.BigDecimal, .BigInteger, java.util.HashMap, tools.jackson.databind.ValueSerializer, tools.jackson.databind.ser.BasicSerializerFactory, tools.jackson.databind.ser.std.ToStringSerializer

Set of serializers for JDK core types.
Since
3.0

Field Summary

Modifier and TypeField and Description
protected static final HashMap<String, ValueSerializer<?>>
_concrete

Since these are all JDK classes, we shouldn't have to worry about ClassLoader used to load them.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static final ValueSerializer<?>
find(Class<?> raw)

Method called by BasicSerializerFactory to find one of serializers provided here.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_concreteback to summary
protected static final HashMap<String, ValueSerializer<?>> _concrete

Since these are all JDK classes, we shouldn't have to worry about ClassLoader used to load them. Rather, we can just use the class name, and keep things simple and efficient.

Constructor Detail

JDKCoreSerializersback to summary
public JDKCoreSerializers()

Method Detail

findback to summary
public static final ValueSerializer<?> find(Class<?> raw)

Method called by BasicSerializerFactory to find one of serializers provided here.