]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virjson: Deflatten arrays generated by the json->commandline generator
authorPeter Krempa <pkrempa@redhat.com>
Thu, 14 Dec 2017 17:03:04 +0000 (18:03 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 20 Mar 2020 08:47:16 +0000 (09:47 +0100)
commit070310a680b0ea16af98efb592a1f4771022e791
treee84547eac5968d0f1100e3874b548f3d7c72a70d
parentdf304575878e0d5b8b27c73d554beec5882ef6b8
virjson: Deflatten arrays generated by the json->commandline generator

For the few instances where we'd generate an array in dotted syntax we
should be able to parse it back. Add another step in deflattening of the
dotted syntax which reconstructs the arrays so that the backing store
parser can parse it.

https://bugzilla.redhat.com/show_bug.cgi?id=1466177

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/util/virjson.c