-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
JSON syntax #62
Comments
As an example of |
I'm not sure which syntax I prefer yet. But I agree, that it should not be part of the compiler. Everyone will be able to write such code executed at compilation time. |
As of 0.0.5 |
Great! |
I suggest the current syntax:
json.decode(User, data)
changes to:
json.decode<User>(data)
This is more consistent, as types cannot be values in V AFAIK. It also allows for the possibility that V will be able to implement
json.decode
as a generic function, with some future features.The text was updated successfully, but these errors were encountered: