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.
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.
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.