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

Yaml is really anti-human. A space can cause an accident! #94

Closed
lp123sun opened this issue Apr 6, 2018 · 2 comments
Closed

Yaml is really anti-human. A space can cause an accident! #94

lp123sun opened this issue Apr 6, 2018 · 2 comments

Comments

@lp123sun
Copy link

lp123sun commented Apr 6, 2018

Yaml is really anti-human. A space can cause an accident!

https://www.zionandzion.com/json-vs-xml-vs-toml-vs-cson-vs-yaml/

Why not use json ?

@saradickinson
Copy link
Contributor

JSON is also supported when the config file is specified on the command line using the -C option and the file has an extension which isn't '.yml' - we recommend '.conf' (see Stubby -h and the README)

We added YAML support because users found JSON much harder to read and get correct because of the additional characters (comma, square brackets and curly brackets) required.

@saradickinson
Copy link
Contributor

Closing, JSON is supported. This tool can be used to convert yaml to json
https://yaml-online-parser.appspot.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants