I'd like like to separate 2 questions. Your work is great, and json really worth to be improved. For example, it's convenient, when
you need to keep things simple (for very small files), or keep speed very fast.
The second question, about bad yaml uptake, is ralated to lack of good libraries for node.js. Just because project is still young.
Some libs are quite complicated, and takes a lot of time to do. But we did pyyaml port, and you can play with it here
https://github.com/nodeca/js-yaml (there is online demo). I can bet, that once you start use yaml, you will newer wish to return back :)
понедельник, 28 мая 2012 г., 18:13:40 UTC+4 пользователь Aseem Kishore написал:
Great question. I actually didn't know until after I published this that YAML is a superset of JSON. Other than that, I didn't really consider YAML only because it doesn't seem to have very good uptake in JS-land.
Looking at it a bit now, though, I think there might be some value in incremental improvements to JSON, where the syntax is still valid JavaScript, rather than a different and much larger syntax.
Aseem