|
From: | Paolo Bonzini |
Subject: | [Qemu-devel] Re: [PATCH 01/10] Introduce qmisc module |
Date: | Fri, 16 Oct 2009 19:35:10 +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/16/2009 03:45 PM, Anthony Liguori wrote:
Paolo Bonzini wrote:It's 36k, and pulling it in gives the opportunity to customize it. For example, the attached patch allows to parse a "%BLAH" extension to JSON that is passed to the callback (since the parsing is done character-by-character, the callback can consume whatever it wants after the % sign). Asprintf+parse JSON unfortunately isn't enough because you'd need to escape all strings.What's the state of this library's upstream? Should we be pushing these changes there and then attempting to package it?
There's no repository, there's no mention of it in the author's blog, it has seen six changes in two years according to the file's heading. The only reference on da Internet is at http://tech.groups.yahoo.com/group/json/message/928.
On the other hand, it's down to the point (it has no object model of it's own), and it is fully asynchronous since it works character-by-character which makes it easier to extend as in my patch above.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |