@@ -247,6 +247,7 @@ public JsonDeserializer<?> createContextual(DeserializationContext ctxt,
247247 vd = findConvertingContentDeserializer (ctxt , property , vd );
248248 }
249249 final JavaType vt = _mapType .getContentType ();
250+ System .err .println ("Map deser for " +_mapType +":\n vt == " +vt );
250251 if (vd == null ) {
251252 vd = ctxt .findContextualValueDeserializer (vt , property );
252253 } else { // if directly assigned, probably not yet contextual, so:
@@ -349,7 +350,7 @@ public Map<Object,Object> deserialize(JsonParser p, DeserializationContext ctxt)
349350 }
350351 final Map <Object ,Object > result = (Map <Object ,Object >) _valueInstantiator .createUsingDefault (ctxt );
351352 if (_standardStringKey ) {
352- _readAndBindStringMap (p , ctxt , result );
353+ _readAndBindStringKeyMap (p , ctxt , result );
353354 return result ;
354355 }
355356 _readAndBind (p , ctxt , result );
@@ -371,7 +372,7 @@ public Map<Object,Object> deserialize(JsonParser p, DeserializationContext ctxt,
371372 return (Map <Object ,Object >) ctxt .handleUnexpectedToken (getMapClass (), p );
372373 }
373374 if (_standardStringKey ) {
374- _readAndBindStringMap (p , ctxt , result );
375+ _readAndBindStringKeyMap (p , ctxt , result );
375376 return result ;
376377 }
377378 _readAndBind (p , ctxt , result );
@@ -467,7 +468,7 @@ protected final void _readAndBind(JsonParser p, DeserializationContext ctxt,
467468 * {@link java.lang.String}s, and there is no custom deserialized
468469 * specified.
469470 */
470- protected final void _readAndBindStringMap (JsonParser p , DeserializationContext ctxt ,
471+ protected final void _readAndBindStringKeyMap (JsonParser p , DeserializationContext ctxt ,
471472 Map <Object ,Object > result ) throws IOException
472473 {
473474 final JsonDeserializer <Object > valueDes = _valueDeserializer ;
0 commit comments