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

HttpMessageConverters should use jakarta.json.bind.Jsonb #1054

Closed
luamas opened this issue Jan 28, 2023 · 0 comments
Closed

HttpMessageConverters should use jakarta.json.bind.Jsonb #1054

luamas opened this issue Jan 28, 2023 · 0 comments
Assignees
Labels
type: bug A general bug
Milestone

Comments

@luamas
Copy link

luamas commented Jan 28, 2023

latest version:1.0.0

ClassLoader classLoader = HttpMessageConverters.class.getClassLoader();
jackson2Present = ClassUtils.isPresent("com.fasterxml.jackson.databind.ObjectMapper", classLoader)
&& ClassUtils.isPresent("com.fasterxml.jackson.core.JsonGenerator", classLoader);
gsonPresent = ClassUtils.isPresent("com.google.gson.Gson", classLoader);
jsonbPresent = ClassUtils.isPresent("jakarta.json.bind.Jsonb", classLoader);

jsonbPresent should use jakarta.json.bind.Jsonb

@luamas luamas added the type: bug A general bug label Jan 28, 2023
@jgrandja jgrandja added this to the 1.0.1 milestone Feb 1, 2023
@jgrandja jgrandja changed the title HttpMessageConverters has a error HttpMessageConverters should use jakarta.json.bind.Jsonb Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants