From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NZkpF-0007Pr-7p for qemu-devel@nongnu.org; Tue, 26 Jan 2010 07:47:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NZkpA-0007OU-FB for qemu-devel@nongnu.org; Tue, 26 Jan 2010 07:47:20 -0500 Received: from [199.232.76.173] (port=57944 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZkpA-0007OP-8O for qemu-devel@nongnu.org; Tue, 26 Jan 2010 07:47:16 -0500 Received: from e2.ny.us.ibm.com ([32.97.182.142]:46183) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NZkp9-0003zr-MJ for qemu-devel@nongnu.org; Tue, 26 Jan 2010 07:47:15 -0500 Received: from d01relay05.pok.ibm.com (d01relay05.pok.ibm.com [9.56.227.237]) by e2.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id o0QCbfWc003470 for ; Tue, 26 Jan 2010 07:37:41 -0500 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay05.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o0QClDeF127384 for ; Tue, 26 Jan 2010 07:47:14 -0500 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id o0QClDWj030951 for ; Tue, 26 Jan 2010 10:47:13 -0200 Message-ID: <4B5EE450.9090004@linux.vnet.ibm.com> Date: Tue, 26 Jan 2010 06:47:12 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH] win32: use PRId64 instead of %lld References: <1264368221-3040-1-git-send-email-hpoussin@reactos.org> <20100125100905.GA9019@redhat.com> <20100125120348.461ce622@doriath> <20100125132719.23a483cf@doriath> <20100125153838.GB11161@redhat.com> <20100126094329.70719b6f@doriath> In-Reply-To: <20100126094329.70719b6f@doriath> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: qemu-devel@nongnu.org, Herve Poussineau , Markus Armbruster , "Michael S. Tsirkin" On 01/26/2010 05:43 AM, Luiz Capitulino wrote: >> The issue I see isn't related to unsigned. Apparently we currently >> accept values such as 'a' as valid strings. Since this is not valid json >> we probably should reject it just in case we will want to switch to >> another json library, otherwise clients might come to depend on >> non-standard behaviour. >> > This extension is only used internally by QEMU and we find it > very convenient otherwise we would have to escape strings in > dicts and lists, which is error prone and time consuming. > Actually, I was reading the JSON RFC last night and came across: "A JSON parser transforms a JSON text into another representation. A JSON parser MUST accept all texts that conform to the JSON grammar. A JSON parser MAY accept non-JSON forms or extensions." So we are fully JSON compliant in our current implementation. Regards, Anthony Liguori