Skip to content
Discussion options

You must be logged in to vote

@gusega You can create differently configured ObjectWriters from ObjectMapper, so some customization is definitely possible (and ObjectReaders for deserialization). You can also create a small number of static ObjectMappers, not just one.

As to recommended way: it really depends on usage, users' situation -- we cannot and do not recommend one specific "true" approach. So I guess it's (3). So either (1) or (2) is fine; although TBH Jackson does not necessarily have many ways to accommodate (1).

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@gusega
Comment options

@cowtowncoder
Comment options

@gusega
Comment options

@cowtowncoder
Comment options

Answer selected by JooHyukKim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants