Re: [Qemu-devel] [PATCH v3 1/5] QJSON: Add JSON writer

2015-01-06 Thread Alexander Graf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06.01.15 16:41, Eric Blake wrote: > On 12/26/2014 07:42 AM, Alexander Graf wrote: >> To support programmatic JSON assembly while keeping the code that >> generates it readable, this patch introduces a simple JSON >> writer. It emits JSON serially

Re: [Qemu-devel] [PATCH v3 1/5] QJSON: Add JSON writer

2015-01-06 Thread Eric Blake
On 12/26/2014 07:42 AM, Alexander Graf wrote: > To support programmatic JSON assembly while keeping the code that generates it > readable, this patch introduces a simple JSON writer. It emits JSON serially > into a buffer in memory. > > The nice thing about this writer is its simplicity and low me

[Qemu-devel] [PATCH v3 1/5] QJSON: Add JSON writer

2014-12-26 Thread Alexander Graf
To support programmatic JSON assembly while keeping the code that generates it readable, this patch introduces a simple JSON writer. It emits JSON serially into a buffer in memory. The nice thing about this writer is its simplicity and low memory overhead. Unlike the QMP JSON writer, this one does