alibaba / alibaba/HandyJSON

大佬,关于一个字段是多种类型的时候

Open
#429 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

比如这个字段"coverUrl"在某种情况下只有一张图片,后台返回的字符串就是字符串,如果有多张,后台返回的就是数组,请问怎么处理?

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named. First clarify the expected behavior for coverUrl when the backend returns a string versus an array, then inspect HandyJSON's existing deserialization documentation and tests; done means both response shapes have an agreed, tested handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
json, swift
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.