Class EnrichedMapDeserializer

  • All Implemented Interfaces:
    org.codehaus.jackson.map.ResolvableDeserializer

    public class EnrichedMapDeserializer
    extends MapAndKeyValuePairDeserializer
    Deserializes maps that have been enriched with extra properties such as _links and _expandable.

    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.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.codehaus.jackson.map.deser.std.StdDeserializer

        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 extends Object>, org.codehaus.jackson.map.deser.std.StdDeserializer.ShortDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.SqlDateDeserializer, org.codehaus.jackson.map.deser.std.StdDeserializer.StackTraceElementDeserializer
      • Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonDeserializer

        org.codehaus.jackson.map.JsonDeserializer.None
    • Field Summary

      • Fields inherited from class org.codehaus.jackson.map.deser.std.MapDeserializer

        _delegateDeserializer, _hasDefaultCreator, _ignorableProperties, _keyDeserializer, _mapType, _propertyBasedCreator, _valueDeserializer, _valueInstantiator, _valueTypeDeserializer
      • Fields inherited from class org.codehaus.jackson.map.deser.std.StdDeserializer

        _valueClass
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • Methods inherited from class org.codehaus.jackson.map.deser.std.MapDeserializer

        _deserializeUsingCreator, _readAndBind, deserializeWithType, getContentDeserializer, getContentType, getMapClass, getValueType, resolve, setIgnorableProperties, wrapAndThrow
      • Methods inherited from class org.codehaus.jackson.map.deser.std.StdDeserializer

        _parseBoolean, _parseBooleanFromNumber, _parseBooleanPrimitive, _parseByte, _parseDate, _parseDouble, _parseDoublePrimitive, _parseFloat, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseShort, _parseShortPrimitive, findDeserializer, getValueClass, handleUnknownProperty, isDefaultSerializer, parseDouble, reportUnknownProperty
      • Methods inherited from class org.codehaus.jackson.map.JsonDeserializer

        getEmptyValue, getNullValue, unwrappingDeserializer
    • Method Detail

      • make

        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
        Throws:
        org.codehaus.jackson.map.JsonMappingException