alibaba / alibaba/fastjson2

[BUG]

Open
#1,951 3 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

JSONReader 中的isInt 这个方法,如果是0.0123 也会true。

Contributor guide

Open the contributing guide

Research direction

Locate JSONReader.isInt and reproduce the reported behavior with the value 0.0123. Verify that the method does not classify this decimal value as an integer, and add or update coverage for this case if the surrounding tests identify an appropriate location.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.