Displaying 5 results from an estimated 5 matches for "rfc8259".
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 Aug 03
0
[libnbd PATCH 4/4] info: Permit --size --json
A single integer IS a valid JSON document, after all, at least
according to RFC8259.
---
info/nbdinfo.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/info/nbdinfo.c b/info/nbdinfo.c
index f37ffea..2e0bf27 100644
--- a/info/nbdinfo.c
+++ b/info/nbdinfo.c
@@ -158,11 +158,6 @@ main (int argc, char *argv[])
usage (stderr, EXIT_FAILURE);
/* You can combine certain o...
2020 Feb 03
0
Re: Does Libvirt's json parser support single quoted string in qmp json string?
...ingle 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 additional features of JSON5 (such as
allowing a trailing comma, escaped newlines within strings, allowing
bareword key:"value" syntax, a larger set of accepted numeric values,
allowing comments) don't seem that onerous.
>...
2020 Aug 03
5
[libnbd PATCH 0/4] More nbdinfo fixes
This rounds up the remaining bugs that I originally identified in:
https://www.redhat.com/archives/libguestfs/2020-July/msg00153.html
Eric Blake (4):
api: Permit export list APIs when Connected
info: Support --list with serializing servers
info: Fix --json output when list size != 1
info: Permit --size --json
generator/API.ml | 6 +++---
info/info-list-json.sh | 9 +++++++++
2020 Feb 04
3
Re: Does Libvirt's json parser support single quoted string in qmp json string?
...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 additional features of JSON5 (such as
> allowing a trailing comma, escaped newlines within strings, allowing
> bareword key:"value" syntax, a larger set of accepted numeric values,
> allowing comments) don't seem th...