|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] Re: [RFC 0/7] QError v1 |
Date: | Fri, 30 Oct 2009 18:33:15 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4 |
On 10/30/2009 06:15 PM, Daniel P. Berrange wrote:
If we're going to use JSON we should be 100% compliant with the JSON spec, not extend it. By adding custom QEMU extensions, we loose the ability for programming language to trivially talk to QEMU using a standard JSON parser, and instead everyone has to write custom client side code yet again.
The single-quoted-string extension is just to be used internally to ease writing JSON templates in C. All emitted text will go through the JSON encoder, which will be conservative (no extensions) for the reasons you mention.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |