qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] QJSON: Use OBJECT_CHECK


From: Eduardo Habkost
Subject: Re: [Qemu-devel] [PATCH] QJSON: Use OBJECT_CHECK
Date: Fri, 1 May 2015 09:04:32 -0300
User-agent: Mutt/1.5.23 (2014-03-12)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]