字典包含Date 数组,如何反序列化?
Open
- Dominant language
- Swift
- Stars
- 4.3k
- Forks
- 677
- PR merge metrics
- No merged PRs in 30d
Description
```
public struct Response: HandyJSON {
public init() {}
public init(days: [Date]) {
self.days = days
}
public var days: [Date] = []
}
```
如何指定 **Date** 转化 **ISO8601** 格式
目前不做处理,解析失败,返回了空数组
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the HandyJSON deserialization entry point for the Response example and trace how [Date] values are currently handled. Verify how an ISO8601 Date should be specified, then confirm that the days array is populated when the example JSON is parsed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100