mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 04:41:20 +00:00
428d175206
If a value of the first level object contains more objects needing deflattening which would be wrapped in an actual object the function would not recurse into them. By this simple addition we can fully deflatten the objects.
29 lines
570 B
JSON
29 lines
570 B
JSON
{
|
|
"file": {
|
|
"nest": {
|
|
"even": {
|
|
"objects": "can",
|
|
"contain": "some",
|
|
"more": {
|
|
"deeply": {
|
|
"nested": "objects",
|
|
"needing": "deflattening",
|
|
"some": {
|
|
"even": "more",
|
|
"than": {
|
|
"others": {
|
|
"thought": {
|
|
"was": "even",
|
|
"completely": "necessary"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"perhaps": "flat value"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|