Re:Specifying JSON
by bsandert on Thursday May 19, 2016 @04:13PM
(#11733399)
Try writing YAML in combination with templating (such as in Salt). Because indentation means hierarchy, it's terrible. I'd much rather use JSON in such a context.
[ Parent
| on HN ]
Re:Specifying JSON
by RangerScience on Friday May 20, 2016 @05:49AM
(#11736611)
I couldn't find an example of Salt on that site; more specifically, I couldn't find an example of the templating you're talking about. I didn't look very hard, but I'm spoiled by things like Sinatra, Coffeescript, and SlimLang.
Can you point me at an example of what you're talking about? I can't really evaluate what you're saying with the information I have.
What's salt?
Probably https://saltstack.com/