Skip to content

implement Jackson ObjectMapperCustomizer with only field visibility #45318

Answered by geoand
nimo23 asked this question in Q&A
Discussion options

You must be logged in to vote

It will work if the objects are used by a known integration (like a return type of JAX-RS / Jakarta REST resource method).
If it does not in your use case, then you can use @RegisterForReflection

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by nimo23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area/jackson Issues related to Jackson (JSON library)
2 participants