public class EnrichedMapDeserializer extends MapAndKeyValuePairDeserializer
These maps need a custom deserializer because the _ underscore-prefixed properties will not deserialise to legitimate map keys - they'll either throw exceptions or return garbage values.
org.codehaus.jackson.map.deser.std.StdDeserializer.BigDecimalDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.BigIntegerDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.BooleanDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.ByteDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.CharacterDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.DoubleDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.FloatDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.IntegerDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.LongDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.NumberDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.PrimitiveOrWrapperDeserializer<T>, org.codehaus.jackson.map.deser.std.StdDeserializer.ShortDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.SqlDateDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.StackTraceElementDeserializer
Modifier and Type | Method and Description |
---|---|
Map<Object,Object> |
deserialize(org.codehaus.jackson.JsonParser jp,
org.codehaus.jackson.map.DeserializationContext ctxt) |
Map<Object,Object> |
deserialize(org.codehaus.jackson.JsonParser jp,
org.codehaus.jackson.map.DeserializationContext ctxt,
Map<Object,Object> result) |
static org.codehaus.jackson.map.JsonDeserializer<?> |
make(org.codehaus.jackson.map.type.MapType type,
org.codehaus.jackson.map.DeserializationConfig config,
org.codehaus.jackson.map.DeserializerProvider provider,
org.codehaus.jackson.map.BeanProperty property,
org.codehaus.jackson.map.KeyDeserializer keyDeserializer,
org.codehaus.jackson.map.TypeDeserializer elementTypeDeserializer,
org.codehaus.jackson.map.JsonDeserializer<?> elementDeserializer) |
_deserializeUsingCreator, _readAndBind, deserializeWithType, getContentDeserializer, getContentType, getMapClass, getValueType, resolve, setIgnorableProperties, wrapAndThrow
_parseBoolean, _parseBooleanFromNumber, _parseBooleanPrimitive, _parseByte, _parseDate, _parseDouble, _parseDoublePrimitive, _parseFloat, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseShort, _parseShortPrimitive, findDeserializer, getValueClass, handleUnknownProperty, isDefaultSerializer, parseDouble, reportUnknownProperty
public static org.codehaus.jackson.map.JsonDeserializer<?> make(org.codehaus.jackson.map.type.MapType type, org.codehaus.jackson.map.DeserializationConfig config, org.codehaus.jackson.map.DeserializerProvider provider, org.codehaus.jackson.map.BeanProperty property, org.codehaus.jackson.map.KeyDeserializer keyDeserializer, org.codehaus.jackson.map.TypeDeserializer elementTypeDeserializer, org.codehaus.jackson.map.JsonDeserializer<?> elementDeserializer) throws org.codehaus.jackson.map.JsonMappingException
org.codehaus.jackson.map.JsonMappingException
public Map<Object,Object> deserialize(org.codehaus.jackson.JsonParser jp, org.codehaus.jackson.map.DeserializationContext ctxt) throws IOException
deserialize
in class MapAndKeyValuePairDeserializer
IOException
public Map<Object,Object> deserialize(org.codehaus.jackson.JsonParser jp, org.codehaus.jackson.map.DeserializationContext ctxt, Map<Object,Object> result) throws IOException
deserialize
in class MapAndKeyValuePairDeserializer
IOException
Copyright © 2003–2021 Atlassian. All rights reserved.