You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.
struct Untitled2 {
let teamId: String
let teamspaceId: Int
let team_name: String
}
however, I get this:
struct Untitled2 {
let teamID: String // The 'd' in teamId is automatically uppercased
let teamspaceID: Int // Same as above
let teamName: String // The underscore is removed here and the var name is automatically camel-cased
}
Ok, so I checked the web version of quick type and it seems to generate the CodingKeys along with the code, which is neat, but it seems to be missing in the vs-code version
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Trying to generate object models result in weird behaviour for Swift.
For example, I expect the following JSON:
to generate a model like:
however, I get this:
Ok, so I checked the web version of quick type and it seems to generate the CodingKeys along with the code, which is neat, but it seems to be missing in the vs-code version
The text was updated successfully, but these errors were encountered: