/** * Deprecated version of accessor method that was used before version 1.8; * renamed as {@link #findKeySerializer}, since process is now * more complicated than simple lookup. * * @deprecated As of version 1.8 */ @Deprecated public final JsonSerializer<Object> getKeySerializer(JavaType valueType, BeanProperty property) throws JsonMappingException { return findKeySerializer(valueType, property); }
/** * Deprecated version of accessor method that was used before version 1.7. * Implemented as final to ensure that existing code does not accidentally * try to redefine it (given that it is not called by core mapper code) * * @deprecated As of version 1.7, use version that exposes property object * instead of just its type (needed for contextual serializers) */ @Deprecated public final JsonSerializer<Object> getKeySerializer() throws JsonMappingException { return findKeySerializer(TYPE_OBJECT, null); }
/** * Need to get callback to resolve value serializer, if static typing * is used (either being forced, or because value type is final) */ @Override public void resolve(SerializerProvider provider) throws JsonMappingException { if (_valueTypeIsStatic && _valueSerializer == null) { _valueSerializer = provider.findValueSerializer(_valueType, _property); } /* 10-Dec-2010, tatu: Let's also fetch key serializer; and always assume we'll * do that just by using static type information */ /* 25-Feb-2011, tatu: May need to reconsider this static checking (since it * differs from value handling)... but for now, it's ok to ensure contextual * aspects are handled; this is done by provider. */ if (_keySerializer == null) { _keySerializer = provider.findKeySerializer(_keyType, _property); } }
/** * Deprecated version of accessor method that was used before version 1.8; * renamed as {@link #findKeySerializer}, since process is now * more complicated than simple lookup. * * @deprecated As of version 1.8 */ @Deprecated public final JsonSerializer<Object> getKeySerializer(JavaType valueType, BeanProperty property) throws JsonMappingException { return findKeySerializer(valueType, property); }
/** * Deprecated version of accessor method that was used before version 1.7. * Implemented as final to ensure that existing code does not accidentally * try to redefine it (given that it is not called by core mapper code) * * @deprecated As of version 1.7, use version that exposes property object * instead of just its type (needed for contextual serializers) */ @Deprecated public final JsonSerializer<Object> getKeySerializer() throws JsonMappingException { return findKeySerializer(TYPE_OBJECT, null); }
/** * Need to get callback to resolve value serializer, if static typing * is used (either being forced, or because value type is final) */ @Override public void resolve(SerializerProvider provider) throws JsonMappingException { if (_valueTypeIsStatic && _valueSerializer == null) { _valueSerializer = provider.findValueSerializer(_valueType, _property); } /* 10-Dec-2010, tatu: Let's also fetch key serializer; and always assume we'll * do that just by using static type information */ /* 25-Feb-2011, tatu: May need to reconsider this static checking (since it * differs from value handling)... but for now, it's ok to ensure contextual * aspects are handled; this is done by provider. */ if (_keySerializer == null) { _keySerializer = provider.findKeySerializer(_keyType, _property); } }
/** * Deprecated version of accessor method that was used before version 1.8; * renamed as {@link #findKeySerializer}, since process is now * more complicated than simple lookup. * * @deprecated As of version 1.8 */ @Deprecated public final JsonSerializer<Object> getKeySerializer(JavaType valueType, BeanProperty property) throws JsonMappingException { return findKeySerializer(valueType, property); }
/** * Deprecated version of accessor method that was used before version 1.8; * renamed as {@link #findKeySerializer}, since process is now * more complicated than simple lookup. * * @deprecated As of version 1.8 */ @Deprecated public final JsonSerializer<Object> getKeySerializer(JavaType valueType, BeanProperty property) throws JsonMappingException { return findKeySerializer(valueType, property); }
/** * Deprecated version of accessor method that was used before version 1.7. * Implemented as final to ensure that existing code does not accidentally * try to redefine it (given that it is not called by core mapper code) * * @deprecated As of version 1.7, use version that exposes property object * instead of just its type (needed for contextual serializers) */ @Deprecated public final JsonSerializer<Object> getKeySerializer() throws JsonMappingException { return findKeySerializer(TYPE_OBJECT, null); }
/** * Deprecated version of accessor method that was used before version 1.8; * renamed as {@link #findKeySerializer}, since process is now * more complicated than simple lookup. * * @deprecated As of version 1.8 */ @Deprecated public final JsonSerializer<Object> getKeySerializer(JavaType valueType, BeanProperty property) throws JsonMappingException { return findKeySerializer(valueType, property); }
/** * Deprecated version of accessor method that was used before version 1.7. * Implemented as final to ensure that existing code does not accidentally * try to redefine it (given that it is not called by core mapper code) * * @deprecated As of version 1.7, use version that exposes property object * instead of just its type (needed for contextual serializers) */ @Deprecated public final JsonSerializer<Object> getKeySerializer() throws JsonMappingException { return findKeySerializer(TYPE_OBJECT, null); }
/** * Deprecated version of accessor method that was used before version 1.7. * Implemented as final to ensure that existing code does not accidentally * try to redefine it (given that it is not called by core mapper code) * * @deprecated As of version 1.7, use version that exposes property object * instead of just its type (needed for contextual serializers) */ @Deprecated public final JsonSerializer<Object> getKeySerializer() throws JsonMappingException { return findKeySerializer(TYPE_OBJECT, null); }
/** * Need to get callback to resolve value serializer, if static typing * is used (either being forced, or because value type is final) */ public void resolve(SerializerProvider provider) throws JsonMappingException { if (_valueTypeIsStatic && _valueSerializer == null) { _valueSerializer = provider.findValueSerializer(_valueType, _property); } /* 10-Dec-2010, tatu: Let's also fetch key serializer; and always assume we'll * do that just by using static type information */ /* 25-Feb-2011, tatu: May need to reconsider this static checking (since it * differs from value handling)... but for now, it's ok to ensure contextual * aspects are handled; this is done by provider. */ if (_keySerializer == null) { _keySerializer = provider.findKeySerializer(_keyType, _property); } }
/** * Need to get callback to resolve value serializer, if static typing * is used (either being forced, or because value type is final) */ @Override public void resolve(SerializerProvider provider) throws JsonMappingException { if (_valueTypeIsStatic && _valueSerializer == null) { _valueSerializer = provider.findValueSerializer(_valueType, _property); } /* 10-Dec-2010, tatu: Let's also fetch key serializer; and always assume we'll * do that just by using static type information */ /* 25-Feb-2011, tatu: May need to reconsider this static checking (since it * differs from value handling)... but for now, it's ok to ensure contextual * aspects are handled; this is done by provider. */ if (_keySerializer == null) { _keySerializer = provider.findKeySerializer(_keyType, _property); } }
/** * Need to get callback to resolve value serializer, if static typing * is used (either being forced, or because value type is final) */ @Override public void resolve(SerializerProvider provider) throws JsonMappingException { if (_valueTypeIsStatic && _valueSerializer == null) { _valueSerializer = provider.findValueSerializer(_valueType, _property); } /* 10-Dec-2010, tatu: Let's also fetch key serializer; and always assume we'll * do that just by using static type information */ /* 25-Feb-2011, tatu: May need to reconsider this static checking (since it * differs from value handling)... but for now, it's ok to ensure contextual * aspects are handled; this is done by provider. */ if (_keySerializer == null) { _keySerializer = provider.findKeySerializer(_keyType, _property); } }