1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-26 03:21:44 +03:00
libvirt/tests/virjsondata/deflatten-dotted-array-in.json
Peter Krempa cdf82b60fd jsontest: Add test cases for deflattening of arrays
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2020-03-20 09:47:16 +01:00

28 lines
526 B
JSON

{
"valid": {
"0": "test",
"1": { "something": 123 },
"2": true
},
"outoforder": {
"1": { "something": 123 },
"2": true,
"0": "test"
},
"invalid-overflow": {
"1": { "something": 123 },
"2": true,
"4": "test"
},
"invalid-strings": {
"1": { "something": 123 },
"2": true,
"test": "test"
},
"nestedkeys": {
"test.0.test": 123,
"test.2.test": 123,
"test.1.test": 123
}
}