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
Would be cool if it has any syntax sugar for []=
[]=
import cascade import json let myObj = cascade newJObject: myAttr = "myValue" myOther = cascade newJObject: innerAttr = "innerValue" myArray = cascade newJArray: - "first value" - "second value"
Maybe I just need a YAML but it has so nice features if/when and nice DSL for write JSON/YAML
The text was updated successfully, but these errors were encountered:
Seems cool, I'd accept a PR for this (I won't have the time to implement it myself currently).
I'm not sure about the unary - however, that would be a separate issue for RFC.
-
Edit: this would have to be disambiguated from the current assignment syntax, which is unconditionally transformed to a dot expression.
Sorry, something went wrong.
No branches or pull requests
Would be cool if it has any syntax sugar for
[]=
Maybe I just need a YAML but it has so nice features if/when and nice DSL for write JSON/YAML
The text was updated successfully, but these errors were encountered: