On Wed, Apr 29, 2015 at 09:18:27PM +0200, Paolo Bonzini wrote: > On 27/04/2015 19:23, Eduardo Habkost wrote: > > Also, why do we have two JSON writers in QEMU? And why do they have > > exactly the same name? > > qobject/qjson.c could use qjson.c... but then qjson.c probably should be > changed 1) to not use QOM 2) to use GString instead of QString, just > like most other places that use mutable QStrings.
3) to support a larger subset of JSON. It doesn't even escape string contents. -- Eduardo