On a Monday in 2026, Peter Krempa via Devel wrote:
From: Peter Krempa <[email protected]>Add an example of 250 layer deep nested JSON to make sure the parser supports it. This is in order to maintain compatibility with external snapshots in qemu, where such a deeply nested document is returned with a 'query-block' QMP call. I've used a fake JSON as a real reply from qemu is around 1.4MiB for a 200 deep image chain. Signed-off-by: Peter Krempa <[email protected]> --- As promised for the JSON nesting fix. Obviously works only when applied on top of it. tests/virjsondata/parse-nesting-in.json | 1 + tests/virjsondata/parse-nesting-out.json | 1 + 2 files changed, 2 insertions(+) create mode 100644 tests/virjsondata/parse-nesting-in.json create mode 120000 tests/virjsondata/parse-nesting-out.json
Reviewed-by: Ján Tomko <[email protected]> Jano
signature.asc
Description: PGP signature
