XML Output: libxo - provide single API to output TXT, XML, JSON and HTML
Simon J. Gerraty
sjg at juniper.net
Tue Jul 29 23:19:34 UTC 2014
On Mon, 28 Jul 2014 22:57:23 -0700, Adrian Chadd writes:
>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.
Exactly.
>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.
Yes. If the API is sufficiently expressive you can add others
renderings if needed.
I think the API proposed meets that criteria - with the open issue of
wide char support (or perhaps UTF8) to be resolved.
More information about the freebsd-arch
mailing list