This website requires JavaScript.
Explore
Help
Sign In
openkylin
/
libvirt
mirror of
https://gitee.com/openkylin/libvirt.git
Watch
9
Star
0
Fork
You've already forked libvirt
0
Code
Issues
Projects
Releases
Wiki
Activity
c1165f70c2
libvirt
/
tests
/
virjsondata
/
deflatten-concat-out.json
9 lines
78 B
JSON
Raw
Normal View
History
Unescape
Escape
tests: json: Add test for the deflattening function Add a few test cases to verify that the old behaviour does not break and that new one behaves sanely.
2017-06-27 00:02:35 +08:00
{
"file"
:
{
"nest"
:
{
util: json: Properly implement JSON deflattening 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.
2017-06-27 19:48:56 +08:00
"into"
:
2
,
"there"
:
"too"
}
tests: json: Add test for the deflattening function Add a few test cases to verify that the old behaviour does not break and that new one behaves sanely.
2017-06-27 00:02:35 +08:00
}
}