We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Ran into a SwiftyJSON compatibility issue that only occurs when a ':' appears in the parsed string. Here's the code:
struct Model: Codable { let name: String let repo: JSON? } let model = Model(name: "Yams", repo: "git:Yams") let encoder = YAMLEncoder() let encodeStr = try! encoder.encode(model) let newModel = try! decoder.decode(RuleRepo.self, from: encodeStr) print(newModel.repo) // output: Optional(0)
the key is the : of git:Yams.
:
git:Yams
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Ran into a SwiftyJSON compatibility issue that only occurs when a ':' appears in the parsed string. Here's the code:
the key is the
:
ofgit:Yams
.The text was updated successfully, but these errors were encountered: