alibaba / alibaba/fastjson2

[BUG]fastjson2 2.0.53出现json转换时在使用了UseBigDecimalForDoubles后,没有将double转换成ddouble

Open
#3,324 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
4.4k
Forks
613
Avg merge
1d 22h
Merged PRs (30d)
6

Description

### 问题描述
fastjson2 2.0.53出现json转换时在使用了UseBigDecimalForDoubles后,没有将double转换成ddouble

问题仅出现在json对象为list时

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the behavior with fastjson2 2.0.53, UseBigDecimalForDoubles, and a JSON object whose value is a list. Trace the list deserialization path and verify that every applicable double value is converted as requested; done means the issue no longer occurs for list-valued JSON objects.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.