Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Since when is in-band signalling a good idea? What if one of your configuration keys is named "comment"?


And what do you name your second comment?


{"notes to self":["Don't edit config files by hand","use a decent hierarchy"]}

//Http://jsoneditoronline.org


You could even write comments as a linear RSS feed of nested OPML outlines, by converting all that XML to JSON.

http://convertjson.com/xml-to-json.htm


Yep, I went through the process of replacing all our XML objects into json ones about 6 years ago now. Smaller files and much easier to read, manipulate store and transfer.

And while I personally quite liked XSLT, javascript is a much more flexible and reliable option.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: