mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 19:11:16 +00:00
As it turns out sometimes users pass in an arbitrarily nested structure e.g. for the qemu backing chains JSON pseudo protocol. This new implementation deflattens now a single object fully even with nested keys. Additionally it's not necessary now to stick with the "file." prefix for the properties.
9 lines
78 B
JSON
9 lines
78 B
JSON
{
|
|
"file": {
|
|
"nest": {
|
|
"into": 2,
|
|
"there": "too"
|
|
}
|
|
}
|
|
}
|