Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@komamitsu
Copy link
Member

Context

We've received some issues that jackson-dataformat-msgpack fails to serialize large BigDecimal values. It's because the default internal type double can't store large BigDecimal values. We've found a workaround, but the same issue has been reported.

Changes

This PR introduces MessagePackMapper#handleBigDecimalAsString with which users can easily use the workaround, and recommends to use the new method in README

@komamitsu komamitsu merged commit 9586366 into develop Jul 10, 2023
@komamitsu komamitsu deleted the handle-bigdecimal-as-string branch July 10, 2023 13:25
@komamitsu komamitsu self-assigned this Jul 10, 2023
@xerial
Copy link
Member

xerial commented Sep 27, 2023

@komamitsu It seems a similar type escalation mechanism is necessary for BigInteger as well

@komamitsu
Copy link
Member Author

Handled BigInteger in #768

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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.