4 ms·
Since when is in-band signalling a good idea? What if one of your configuration keys is named "comment"?
by pilif 10y ago
Since when is in-band signalling a good idea? What if one of your configuration keys is named "comment"?
- DonHopkins 10y agoAnd what do you name your second comment?
- mSparks 10y ago{"notes to self":["Don't edit config files by hand","use a decent hierarchy"]} //Http://jsoneditoronline.org
- DonHopkins 10y agoYou 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 http://convertjson.com/xml-to-json.htm
- mSparks 10y agoYep, 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.