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
Sometimes it would be valuable to be able to construct ObjectMapper types with different backing format: for example, based on JsonMapper, create a SmileMapper using shared applicable format-agnostic configurations. Currently there is no way to do that, since TokenStreamFactory can not be changed either for ObjectMapper (fully immutable since 3.0, but not changeable even in 2.x), or for ObjectMapper.Builder (which is constructed passing one).
But it seems possible to allow use of
ObjectMapper.rebuildWith(TokenStreamFactory)
which could then copy subset of configuration that is shared between ObjectMapper, dropping format-specific configuration.
The text was updated successfully, but these errors were encountered:
(note: continuation from FasterXML/jackson-dataformats-binary#205)
Sometimes it would be valuable to be able to construct
ObjectMapper
types with different backing format: for example, based onJsonMapper
, create aSmileMapper
using shared applicable format-agnostic configurations. Currently there is no way to do that, sinceTokenStreamFactory
can not be changed either forObjectMapper
(fully immutable since 3.0, but not changeable even in 2.x), or forObjectMapper.Builder
(which is constructed passing one).But it seems possible to allow use of
which could then copy subset of configuration that is shared between
ObjectMapper
, dropping format-specific configuration.The text was updated successfully, but these errors were encountered: