You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently (2.12) the only way to specify default ContextAttributes for ObjectMapper is to directly modify DeserializationConfig/SerializationConfig. But it'd seem better to allow doing this via MapperBuilder, adding something like
defaultAttributes(ContextAttributes)
method (and simple tests).
The text was updated successfully, but these errors were encountered:
cowtowncoder
changed the title
Add mechanism for setting default ContextAttributes for ObjectMapper (via MapperBuilder)
Add mechanism for setting default ContextAttributes for ObjectMapperFeb 2, 2021
Addition using MapperBuilder.defaultAttributes(ContextAttributes) (for 2.13 and 3.0); 2.13 also has direct ObjectMapper.setDefaultAttributes(...) since it is required for builder to work.
Currently (2.12) the only way to specify default
ContextAttributes
forObjectMapper
is to directly modifyDeserializationConfig
/SerializationConfig
. But it'd seem better to allow doing this viaMapperBuilder
, adding something likemethod (and simple tests).
The text was updated successfully, but these errors were encountered: