From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtbpM-0008UY-2f for qemu-devel@nongnu.org; Tue, 03 Nov 2015 08:40:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZtbpI-0006NC-SS for qemu-devel@nongnu.org; Tue, 03 Nov 2015 08:40:44 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47832) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtbpI-0006My-Jp for qemu-devel@nongnu.org; Tue, 03 Nov 2015 08:40:40 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 1CEC9C0D61AF for ; Tue, 3 Nov 2015 13:40:40 +0000 (UTC) References: <5633C8EC.8030309@redhat.com> <874mh44wvs.fsf@blackfin.pond.sub.org> <56378572.5020203@redhat.com> <87egg8nro5.fsf@blackfin.pond.sub.org> <5637C2B3.6090609@redhat.com> <87egg7lffd.fsf@blackfin.pond.sub.org> <20151103081917.1d348ad1@redhat.com> From: Eric Blake Message-ID: <5638B950.5030009@redhat.com> Date: Tue, 3 Nov 2015 06:40:32 -0700 MIME-Version: 1.0 In-Reply-To: <20151103081917.1d348ad1@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wbSSp2cO1FPaD2JsDVet4MF7X1v9VNWSX" Subject: Re: [Qemu-devel] RFC: libyajl for JSON List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino , Markus Armbruster Cc: "qemu-devel@nongnu.org" , "Dr. David Alan Gilbert" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --wbSSp2cO1FPaD2JsDVet4MF7X1v9VNWSX Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 11/03/2015 06:19 AM, Luiz Capitulino wrote: > On Tue, 03 Nov 2015 08:17:58 +0100 > Markus Armbruster wrote: >=20 >>> So at this point, I want to see if lloyd makes any progress towards a= n >>> actual yajl release and/or adding a co-maintainer, before even trying= to >>> get formal upstream support for single quoting. We could always crea= te >>> a git submodule with our own choice of fork (since there are already >>> forks that do single-quote parsing) - but the mantra of 'upstream fir= st' >>> has a lot of merit (I'm reluctant to fork without good reason). >> >> The value proposition of replacing our flawed JSON parser isn't in >> saving big on maintenance, it's in not having to find and fix its flaw= s. >> >> If the replacement needs a lot of work to fit our needs, the value >> proposition becomes negative. >> >> A JSON parser shouldn't require much maintenance, as JSON is simple, >> doesn't change, and parsing has few system dependencies. >=20 > Let me suggest this crazy idea: have you guys considered breaking > compatibility? As in, requiring QMP clients to send "quotes" rather than 'quotes'? It's worth considering (we already guarantee that our output is strict JSON, and that the 'quotes' on input is merely for convenience). If we want to go that route, than 2.5 should document loudly that we are deprecating 'quotes' in QMP, so that 2.6 can actually remove it when switching to yajl. And as single quotes appears to be the only JSON extension we have been relying on, I think that would indeed free us from having to wait for a yajl release or carry our own yajl fork. Interesting idea; I'm still thinking whether it would help us more than it would hurt lazy clients that were depending on the extension. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --wbSSp2cO1FPaD2JsDVet4MF7X1v9VNWSX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWOLlQAAoJEKeha0olJ0NqoL8H/Attgjl6gDMJ/lyTN2EuhE9e 94El1LqP97mf6bUDG6zozDAAV92UtBYWW74tvT/lvxuQmhOsVklCT+F7+AEw31u1 foE0A1LfYzMXzN9QW8V0HvdSOzZ1Fx1lmRA9t8TAUdaoiCnL1tU+sgvrY3J6QK/1 5qczn6TD7C2zjM+j++YnZ9OaIY5onMaORixIjLO/DwiNj8ZvCJ2ZRei/aQMsyeN8 6Xdq2A+ldCPjZk1qU/mefbwBg9mBpZ2DL8YkoLaunceFZBKiKdjn+aNpQv9reFsO x/sg5QyeAD202L1w5i+yzsF86pr1EQAp60RDKhfXnFM3aq47xqy2T6zsRapTbfY= =Agvy -----END PGP SIGNATURE----- --wbSSp2cO1FPaD2JsDVet4MF7X1v9VNWSX--