Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document code to create custom JSON ObjectMapper and JsonbConfig #15290

Merged
merged 1 commit into from
Feb 24, 2021

Conversation

oztimpower
Copy link
Contributor

Documentation currently explains in text what needs to be done to leverage your own ObjectMapper for Jackson, or JsonbConfig for JSON-B.

However, there are no code examples on how to do this, which has led to a bit of traffic on StackOverflow et al.

Copy link
Contributor

@geoand geoand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea!

@geoand geoand merged commit a08a1d8 into quarkusio:master Feb 24, 2021
@quarkus-bot quarkus-bot bot added this to the 1.13 - master milestone Feb 24, 2021
@geoand
Copy link
Contributor

geoand commented Feb 24, 2021

BTW, which SO question are we talking about?

@oztimpower
Copy link
Contributor Author

BTW, which SO question are we talking about?

Not sure I understand the question.

@geoand
Copy link
Contributor

geoand commented Feb 24, 2021

You mention

 which has led to a bit of traffic on StackOverflow et al

is there a specific StackOverflow question you have in mind or where you referring to your own traffic trying to find a solution?

@oztimpower
Copy link
Contributor Author

Ok... yes did a bit of googling to try and work out how to do this (as part of my attempts to drill into Kotlin-Jackson data serialisation issues on native-image).

I had read a couple of Stack Overflow questions (apologies I have never used the SO abbreviation), before I stumbled across the below blog on how to do it (e.g. https://stackoverflow.com/questions/61984336/how-to-configure-objectmapper-for-quarkus-rest-client)

Blog that helped me work it out:
https://lankydan.dev/providing-your-own-jackson-objectmapper-in-quarkus

@geoand
Copy link
Contributor

geoand commented Feb 24, 2021

I see, thanks for the info!

@oztimpower oztimpower deleted the tp/docs-json branch March 5, 2021 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants