Skip to content

Update CleanJSONDecoder.swift #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

asyncawaited
Copy link

@asyncawaited asyncawaited commented Mar 7, 2025

支持含有未定义枚举的数组。
例如:
enum Status: String {
case a = "a"
case b = "b"
case c = "c"
}

如果
person 结构体有一个此结构体的数组status:[Status]
兼容status = ["a", "b", "d"]的情况,其中“d”并未在enum里面未定义。

支持含有未定义枚举的数组。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants