MapLikeType mlt = (MapLikeType) type; if (mlt.isTrueMapType()) { return (JsonDeserializer<Object>)_factory.createMapDeserializer(config, this, (MapType) mlt, property);
/** *<p> * Note: declared final to prevent sub-classes from overriding; choice is between * hard compile-time error and nastier runtime errors as this method should * not be called by core framework any more. * * @deprecated Since 1.7 should use method that takes in property definition */ @Deprecated final public JsonDeserializer<?> createMapDeserializer(DeserializationConfig config, MapType type, DeserializerProvider p) throws JsonMappingException { return createMapDeserializer(config, p, type, null); }
MapLikeType mlt = (MapLikeType) type; if (mlt.isTrueMapType()) { return (JsonDeserializer<Object>)_factory.createMapDeserializer(config, this, (MapType) mlt, property);
@SuppressWarnings("unchecked") protected JsonDeserializer<Object> _createDeserializer(DeserializationConfig config, JavaType type, JavaType referrer, String refPropName) throws JsonMappingException { if (type.isEnumType()) { return (JsonDeserializer<Object>) _factory.createEnumDeserializer(config, type.getRawClass(), this); } if (type.isContainerType()) { if (type instanceof ArrayType) { return (JsonDeserializer<Object>)_factory.createArrayDeserializer(config, (ArrayType) type, this); } if (type instanceof MapType) { return (JsonDeserializer<Object>)_factory.createMapDeserializer(config, (MapType) type, this); } if (type instanceof CollectionType) { return (JsonDeserializer<Object>)_factory.createCollectionDeserializer(config, (CollectionType) type, this); } } // 02-Mar-2009, tatu: Let's consider JsonNode to be a type of its own Class<?> rawClass = type.getRawClass(); if (JsonNode.class.isAssignableFrom(rawClass)) { Class<? extends JsonNode> nodeClass = (Class<? extends JsonNode>) rawClass; return (JsonDeserializer<Object>)_factory.createTreeDeserializer(config, nodeClass, this); } return (JsonDeserializer<Object>)_factory.createBeanDeserializer(config, type, this); }
MapLikeType mlt = (MapLikeType) type; if (mlt.isTrueMapType()) { return (JsonDeserializer<Object>)_factory.createMapDeserializer(config, this, (MapType) mlt, property);
MapLikeType mlt = (MapLikeType) type; if (mlt.isTrueMapType()) { return (JsonDeserializer<Object>)_factory.createMapDeserializer(config, this, (MapType) mlt, property);
MapLikeType mlt = (MapLikeType) type; if (mlt.isTrueMapType()) { return (JsonDeserializer<Object>)_factory.createMapDeserializer(config, this, (MapType) mlt, property);