Date: Tue, 29 Jul 2014 23:59:53 -0700 From: John-Mark Gurney <jmg@funkthat.com> To: Adrian Chadd <adrian@freebsd.org> Cc: Jordan Hubbard <jkh@mail.turbofuzz.com>, "freebsd-arch@freebsd.org" <arch@freebsd.org> Subject: Re: XML Output: libxo - provide single API to output TXT, XML, JSON and HTML Message-ID: <20140730065953.GJ43962@funkthat.com> In-Reply-To: <CAJ-VmomiwUWHWYLdLcQAnp7QBmvQR2wfPoCy=eie-jrvyw0HfA@mail.gmail.com> References: <20140725044921.9F0D3580A2@chaos.jnpr.net> <CAETOPp13H7kyLy-1VJRDOsDbOh8A1MWZDxw1xHUBsxTRtMfc7g@mail.gmail.com> <20140728054217.AC1A0580A2@chaos.jnpr.net> <20140728055336.GJ50802@ivaldir.etoilebsd.net> <CAETOPp3hJB8Gj%2BPMj3N951krnNqCYiAOY-cPHxMCBy1CQXWJaQ@mail.gmail.com> <A1E63A7A-BB38-4CC3-B5EC-B251BE990572@mail.turbofuzz.com> <CAETOPp0c1xfMj1vDvQRSoV3ec-LdJmyT9AFH02iziN0yuY1D-A@mail.gmail.com> <CAJ-VmomiwUWHWYLdLcQAnp7QBmvQR2wfPoCy=eie-jrvyw0HfA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Adrian Chadd wrote this message on Mon, Jul 28, 2014 at 22:57 -0700: > Holy ... ! > > What really matter is whether the library API that you're going to > shoehorn into plenty of utilities is expressive enough to express a > whole bunch of different output types. > > So it doesn't matter if you want JSON, or YAML, or XML, or the native > tool output. The trick is whether the library API is good enough. Actually, it does.. there are somethings that you can express in XML or others that you can't express in JSON... Like there is no binary data type in JSON... You only have unicode strings... I hope the library that outputs JSON ensures that all strings are valid UTF-8.. If not, I can imagine that someone will have a security issue due to this... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140730065953.GJ43962>