Skip to content

Add support for and update to Jackson 2.15.x - #241

Merged
rlodge merged 1 commit into
mongojack:masterfrom
bernd:fix/issue-236
Oct 12, 2023
Merged

rlodge merged 1 commit into
mongojack:masterfrom
bernd:fix/issue-236

Conversation

@bernd

@bernd bernd commented Sep 13, 2023

Copy link
Copy Markdown
Contributor

Jackson added the "JsonParser#getNumberValueDeferred()" method, including a default implementation in "ParserBase". When using polymorphic types, the default implementation returns an empty string for a double value.

This change introduces an implementation for "#getNumberValueDeferred" in "JsonParserAdapter" to fix the problem.

Add a test for parsing and generating polymorphic types.

Fixes #236

Jackson added the "JsonParser#getNumberValueDeferred()" method, including
a default implementation in "ParserBase". When using polymorphic types,
the default implementation returns an empty string for a double value.

This change introduces an implementation for "#getNumberValueDeferred"
in "JsonParserAdapter" to fix the problem.

Add a test for parsing and generating polymorphic types.

Fixes mongojack#236
@ferdinand-swoboda

Copy link
Copy Markdown

Any chance of this getting merged soon? Anything the community can help with?

@rlodge
rlodge merged commit d1df86d into mongojack:master Oct 12, 2023
@rlodge

rlodge commented Oct 12, 2023

Copy link
Copy Markdown
Contributor

Released 4.8.1

@Badbond

Badbond commented Oct 13, 2023 •

Copy link
Copy Markdown

Great news! When can we expect the release to be available on Maven central?

Edit: I was blind, I see it is already available.

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

Successfully merging this pull request may close these issues.

Double primitives and wrappers are not deserialised property, instead they are empty String, followed by NumberFormatException

4 participants