int转string的解析,最后一位出错
Open
- Dominant language
- Swift
- Stars
- 4.3k
- Forks
- 677
- PR merge metrics
- No merged PRs in 30d
Description
@maintainer 解析中发现id定义为string,得到结果为"11320248309388288", 抓包数据是整数,数据为11320248309388289,结果发现最后一位数据出现错误,类型一致才不会出现该错误
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported HandyJSON deserialization from the integer 11320248309388289 into a String. Trace the integer-to-string conversion path and add or run a focused regression test that verifies the final digit remains 9 rather than becoming 8.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100