alibaba / alibaba/HandyJSON

HandyJson不能将JSon类型的数据对应的string类型上

Open
#271 4 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

比如有个类的属性是String类型,数据格式给的json格式的字符串,这个时候整个类都解析错误了。

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with a HandyJSON model whose String property receives a JSON-formatted string, then trace the deserialization and mapping entry points. Done means the containing model parses successfully and the String value is preserved; add a regression test covering this input.

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
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.