[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] RFC: libyajl for JSON
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] RFC: libyajl for JSON |
Date: |
Tue, 3 Nov 2015 14:53:59 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 03/11/2015 14:46, Luiz Capitulino wrote:
>> > Can you explain why that would make sense? :) (Especially since there
>> > is another extension---JSON5---that does exactly what we're doing, so it
>> > probably wasn't that stupid an idea).
> Let's be pragmatic. *If* this is the only issue stopping us from
> dropping our own parser in favor of something more widely used and
> *if* libvirt doesn't make use of the feature, it's something we
> should strongly consider.
I'm not sure what's so bad about our parser that makes it worthwhile to:
1) uglify all tests and make them inconsistent with the QAPI schemas,
which also uses single-quoted strings
2) waste time finding a replacement for % interpolation (the best
replacement here would be to rewrite the tests in Python IMHO, but
that's not a small ask)
Just let's remove the weird (to not say worse) usage of QDict/QList to
store tokens...
Paolo
- Re: [Qemu-devel] RFC: libyajl for JSON, (continued)
- Re: [Qemu-devel] RFC: libyajl for JSON, Stefan Hajnoczi, 2015/11/02
- Re: [Qemu-devel] RFC: libyajl for JSON, Eric Blake, 2015/11/02
- Re: [Qemu-devel] RFC: libyajl for JSON, Markus Armbruster, 2015/11/02
- Re: [Qemu-devel] RFC: libyajl for JSON, Eric Blake, 2015/11/02
- Re: [Qemu-devel] RFC: libyajl for JSON, Markus Armbruster, 2015/11/03
- Re: [Qemu-devel] RFC: libyajl for JSON, Luiz Capitulino, 2015/11/03
- Re: [Qemu-devel] RFC: libyajl for JSON, Paolo Bonzini, 2015/11/03
- Re: [Qemu-devel] RFC: libyajl for JSON, Luiz Capitulino, 2015/11/03
- Re: [Qemu-devel] RFC: libyajl for JSON,
Paolo Bonzini <=
- Re: [Qemu-devel] RFC: libyajl for JSON, Luiz Capitulino, 2015/11/03
- Re: [Qemu-devel] RFC: libyajl for JSON, Paolo Bonzini, 2015/11/03
- Re: [Qemu-devel] RFC: libyajl for JSON, Markus Armbruster, 2015/11/03
- Re: [Qemu-devel] RFC: libyajl for JSON, Eric Blake, 2015/11/03
- Re: [Qemu-devel] RFC: libyajl for JSON, Daniel P. Berrange, 2015/11/03
- Re: [Qemu-devel] RFC: libyajl for JSON, Luiz Capitulino, 2015/11/03
Re: [Qemu-devel] RFC: libyajl for JSON, Luiz Capitulino, 2015/11/02