alibaba / alibaba/HandyJSON

崩溃??? 系统切换到阿拉伯语网络返回的数字为啥解析后,也成阿拉伯语了呢????

Open
#412 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
4.3k
Forks
677
PR merge metrics
No merged PRs in 30d

Description

系统切换到阿拉伯语网络返回的数字为啥解析后,也成阿拉伯语了呢????

po tmp?.publishTime
▿ Optional
- some : "١٦٠٤٣٦٦٤٦٤٤٤٧"

(lldb) po vlaue["publishTime"]
▿ Optional
- some : 1604366464447

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Start by reproducing the Arabic-locale case using the publishTime value and trace HandyJSON's deserialization path for numeric and string fields; done means the parsed value preserves the intended representation consistently, with a regression test covering the reported input.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
internationalization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.