XML Output: libxo - provide single API to output TXT, XML, JSON and HTML
Pietro Cerutti
gahr at FreeBSD.org
Tue Jul 29 07:56:44 UTC 2014
On 2014-Jul-28, 22:56, Stephen Hurd wrote:
> Jordan Hubbard wrote:
> > Is there some reason JSON is not sufficient? I think that’s a better question to ask, since the conversation otherwise quickly tends to sound a little like “I’ll accept any single unified format as long as it’s the specific one I like!” :) I think the greater good argument would suggest just picking one that’s expressive enough (roll a pair of dice), put on your bikeshed-proof sunglasses, and proceed.
>
> The biggest problem I tend to have with JSON is that there is no comment
> format. I rarely update a configuration without adding a comment
> regarding it, and since JSON doesn't have comments, it's simply a
> non-starter for most of my usage. The whole "just a key that you know
> isn't real" hack is terrible.
There's an interesting post about whether this really is a problem:
https://groups.yahoo.com/neo/groups/json/conversations/topics/156
I'm not saying it isn't, just that there are reasons why comments are
not part of JSON.
--
Pietro Cerutti
The FreeBSD Project
gahr at FreeBSD.org
PGP Public Key:
http://gahr.ch/pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20140729/9f261b42/attachment.sig>
More information about the freebsd-arch
mailing list