-
-
Save Banck/d57eaba67f4f1d1d5e605f76002c7be1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
{% elif variable.type.kind == "enum" %} | |
{{ variable.name }} = {{ variable.unwrappedTypeName }}(rawValue: json["{{ variable.name|camelToSnakeCase }}"].stringValue) ?? {{ variable.defaultValue }} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment