Skip to content
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

"Core JSON syntax" expression in the docs is confusing #931

Closed
mvasin opened this issue Dec 9, 2018 · 2 comments
Closed

"Core JSON syntax" expression in the docs is confusing #931

mvasin opened this issue Dec 9, 2018 · 2 comments
Labels
docs Code is fine, documentation is not.

Comments

@mvasin
Copy link

mvasin commented Dec 9, 2018

There is a section in the docs titled "Core JSON syntax". This sounds really weird to me, as it includes functions, string interpolations and all the other too-wild-to-be-a-JSON perks.

Why is it called "JSON syntax" in the first place? My guess is it's meant to distinguish from string literal syntax, and has nothing to do with JSON. If so, can we call it "object syntax" so people don't expect JSON limitations (like double quotes instead of single quotes and so on)?

@kof
Copy link
Member

kof commented Dec 9, 2018

Yep, I am working right now on changing the overall structure and already changed JSON syntax to "Objects based styles syntax". JSON Syntax was used in the older versions before function values.

String interpolations are provided by a plugin though, not in the core, so not sure where you got this.

@mvasin mvasin closed this as completed Dec 9, 2018
@kof
Copy link
Member

kof commented Dec 9, 2018

follow this issue #932 and this PR #929 in case you have more input

@kof kof added the docs Code is fine, documentation is not. label Dec 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Code is fine, documentation is not.
Projects
None yet
Development

No branches or pull requests

2 participants