This website requires JavaScript.
Explore
Help
Sign In
External
/
libvirt
Watch
1
Star
0
Fork
0
You've already forked libvirt
mirror of
https://gitlab.com/libvirt/libvirt.git
synced
2024-12-22 21:55:25 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
cd1e837c22
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-26 16:02:35 +00: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 11:48:56 +00: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-26 16:02:35 +00:00
}
}
Reference in New Issue
Copy Permalink