From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8kUY-0006Pk-He for qemu-devel@nongnu.org; Fri, 03 Jun 2016 04:30:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8kUU-0004Wf-9R for qemu-devel@nongnu.org; Fri, 03 Jun 2016 04:30:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8kUU-0004WZ-3O for qemu-devel@nongnu.org; Fri, 03 Jun 2016 04:30:02 -0400 From: Markus Armbruster References: <1463632874-28559-1-git-send-email-eblake@redhat.com> <1463632874-28559-28-git-send-email-eblake@redhat.com> Date: Fri, 03 Jun 2016 10:29:59 +0200 In-Reply-To: <1463632874-28559-28-git-send-email-eblake@redhat.com> (Eric Blake's message of "Wed, 18 May 2016 22:41:13 -0600") Message-ID: <87bn3i65fc.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v4 27/28] qapi: Add 'any' support to JSON output List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: qemu-devel@nongnu.org, Michael Roth Eric Blake writes: > Now that we can visit any QObject, it's easy to add support > for visit_type_any() in the JSON output visitor. > > Signed-off-by: Eric Blake Unlike in v3, this actually clones the QObject behind the any type. Much cleaner, and very little code due to your elegant use of visitors.