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

Support for Jackson 2.12 #93

Closed
hisener opened this issue Jan 1, 2021 · 2 comments
Closed

Support for Jackson 2.12 #93

hisener opened this issue Jan 1, 2021 · 2 comments

Comments

@hisener
Copy link

hisener commented Jan 1, 2021

Hey, is there any plan to support Jackson 2.12?

We found one incompatibility with bson4jackson 2.11 and Jackson 2.12. In FasterXML/jackson-core#631, they introduced JsonParser#getNumberValueExact method. I think BsonParser should override that method and delegate to BsonParser#getNumberValue.

@Override
public Number getNumberValue() throws IOException, JsonParseException {
return (Number)getContext().value;
}

@michel-kraemer
Copy link
Owner

Thanks for reporting this!

bson4jackson 2.12.0 has just been released. The issue has been fixed in 36377e8.

@hisener
Copy link
Author

hisener commented Jan 17, 2021

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants