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