|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] Re: [PATCH 01/10] Introduce qmisc module |
Date: | Sun, 18 Oct 2009 19:59:31 +0200 |
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/18/2009 06:46 PM, Vincent Hanquez wrote:
care to explain what's a single quoted string and varargs support means in your context ? (just a simple example you do maybe ?)
single-quoted string: Being able to parse 'name' in addition to "name", which is convenient because in C the latter would be \"name\".
varargs: Being able to call some external function when a %+letter sequence is found, which would fetch the key or value for an external source (for example a varargs list so that you can do a printf-style QObject factory function, where the template is itself written in JSON-like syntax).
The important thing anyway is that the encoder is conservative (i.e. 100% valid JSON) in what it emits. This is something everybody totally agrees on.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |