Skip to content

Passing context to custom serializer through ObjectMapper #252

Answered by cowtowncoder
jcbodnar asked this question in Q&A
Discussion options

You must be logged in to vote

You are missing an obvious access pattern:

if (serializerProvider.getAttribute(attributeName) == .... )

for some reason. Try that instead.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by jcbodnar
Comment options

You must be logged in to vote
3 replies
@cowtowncoder
Comment options

@jcbodnar
Comment options

@cowtowncoder
Comment options

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