All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods
Modifier and Type |
Method |
Description |
PropertySerializerMap.SerializerAndMapResult |
addSerializer(JavaType type,
JsonSerializer<Object> serializer) |
|
PropertySerializerMap.SerializerAndMapResult |
addSerializer(Class<?> type,
JsonSerializer<Object> serializer) |
Method that can be used to 'register' a serializer that caller has resolved
without help of this map.
|
static PropertySerializerMap |
emptyForProperties() |
|
static PropertySerializerMap |
emptyForRootValues() |
|
static PropertySerializerMap |
emptyMap() |
Deprecated.
|
PropertySerializerMap.SerializerAndMapResult |
findAndAddKeySerializer(Class<?> type,
SerializerProvider provider,
BeanProperty property) |
Method called if initial lookup fails, when looking for a key
serializer (possible attached indirectly to a property)
Will both find serializer
and construct new map instance if warranted, and return both.
|
PropertySerializerMap.SerializerAndMapResult |
findAndAddPrimarySerializer(JavaType type,
SerializerProvider provider,
BeanProperty property) |
|
PropertySerializerMap.SerializerAndMapResult |
findAndAddPrimarySerializer(Class<?> type,
SerializerProvider provider,
BeanProperty property) |
Method called if initial lookup fails, when looking for a primary
serializer (one that is directly attached to a property).
|
PropertySerializerMap.SerializerAndMapResult |
findAndAddRootValueSerializer(JavaType type,
SerializerProvider provider) |
|
PropertySerializerMap.SerializerAndMapResult |
findAndAddRootValueSerializer(Class<?> type,
SerializerProvider provider) |
Method called if initial lookup fails, when looking for a root value
serializer: one that is not directly attached to a property, but needs to
have TypeSerializer wrapped
around it.
|
PropertySerializerMap.SerializerAndMapResult |
findAndAddSecondarySerializer(JavaType type,
SerializerProvider provider,
BeanProperty property) |
|
PropertySerializerMap.SerializerAndMapResult |
findAndAddSecondarySerializer(Class<?> type,
SerializerProvider provider,
BeanProperty property) |
Method called if initial lookup fails, when looking for a non-primary
serializer (one that is not directly attached to a property).
|
abstract PropertySerializerMap |
newWith(Class<?> type,
JsonSerializer<Object> serializer) |
|
abstract JsonSerializer<Object> |
serializerFor(Class<?> type) |
Main lookup method.
|