Displaying 3 results from an estimated 3 matches for "json5".
Did you mean:
json
2020 Feb 03
2
Re: Does Libvirt's json parser support single quoted string in qmp json string?
On Fri, Jan 31, 2020 at 06:44:42AM -0600, Eric Blake wrote:
> On 1/31/20 4:38 AM, Peter Luo wrote:
>
> > error: internal error: cannot parse json {"execute": "block-commit", "arguments": { "device": "drive-virtio-disk2", "job-id": "job100",
2020 Feb 03
0
Re: Does Libvirt's json parser support single quoted string in qmp json string?
...Can we deprecate & remove this extension in QEMU ?
We could start a deprecation clock, if desired, but I don't know how
many external users would be impacted (at least qemu's testsuite heavily
relies on the extension of single quotes).
Are there any third-party libraries that parse JSON5?
https://json5.org/ documents that one of the nice features of JSON5 is
that single quotes work out of the box. Right now, even though qemu
does NOT parse the same thing as pure JSON (which is
https://datatracker.ietf.org/doc/rfc8259/), it does appear to parse a
subset of JSON5, where the add...
2020 Feb 04
3
Re: Does Libvirt's json parser support single quoted string in qmp json string?
...\"class\": %s, \"desc\": %s } }",
QapiErrorClass_str(error_get_class(err)),
error_get_pretty(err));
I intentionally picked an example outside tests/ :)
> Are there any third-party libraries that parse JSON5?
> https://json5.org/ documents that one of the nice features of JSON5 is
> that single quotes work out of the box. Right now, even though qemu
> does NOT parse the same thing as pure JSON (which is
> https://datatracker.ietf.org/doc/rfc8259/), it does appear to parse a
> subset of...