Received: from eggs.gnu.org ([2001:4830:134:3::10]:55340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yo9gQ-0000SB-Uq for qemu-devel@nongnu.org; Fri, 01 May 2015 08:04:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yo9gK-0004ol-HK for qemu-devel@nongnu.org; Fri, 01 May 2015 08:04:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yo9gK-0004oh-Bm for qemu-devel@nongnu.org; Fri, 01 May 2015 08:04:36 -0400 Date: Fri, 1 May 2015 09:04:32 -0300 From: Eduardo Habkost Message-ID: <20150501120432.GH17796@thinpad.lan.raisama.net> References: <1429975686-19494-1-git-send-email-ehabkost@redhat.com> <553BC973.2030506@suse.de> <20150427172320.GC25766@thinpad.lan.raisama.net> <55412E83.30302@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55412E83.30302@redhat.com> Subject: Re: [Qemu-devel] [PATCH] QJSON: Use OBJECT_CHECK List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Juan Quintela , qemu-devel@nongnu.org, Michael Roth , agraf@suse.de, Luiz Capitulino , Andreas =?iso-8859-1?Q?F=E4rber?= 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