alibaba / alibaba/HandyJSON

Referencing static method 'deserialize(from:designatedPath:)' on 'Array' requires that 'String' conform to 'HandyJSON'

Open
#463 0 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

```swift
let array = [String].deserialize(from: jsonData, designatedPath: "data")
```

![QQ20220107-161316](https://user-images.githubusercontent.com/8855341/148513069-235fafaa-063d-4c24-99ec-0ef626938f92.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the `[String].deserialize(from: jsonData, designatedPath: "data")` call and the compiler error shown in the issue. Reproduce it and inspect the `Array.deserialize(from:designatedPath:)` entry point; done means the call can deserialize strings at the designated path without the reported conformance error.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.