alibaba / alibaba/HandyJSON

key值不固定怎么解析

Open
#335 2 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

```
[{
"dVisit" : {
"diastolic_pressure" : "88",
"systolic_pressure" : "126"
},
"followType" : "dVisit",
"follow_up_date" : "2017-08-11"
},
{
"follow_up_date" : "2016-06-07",
"followType" : "hVisit",
"hVisit" : {
"systolic_pressure" : "136",
"diastolic_pressure" : "88"
}
}]
```
dVisit会根据followType变化,这种情况怎么解析

Contributor guide

No contributing guide indexed for this repository

Research direction

The report names no files, tests, or entry points. Start by reproducing the supplied JSON with HandyJSON and inspect the Swift deserialization path for handling a nested key selected by followType; done means a documented or implemented resolution for this dynamic-key case.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
tooling
Issue type
Feature
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.