On 06/27/2017 08:46 AM, Peter Krempa wrote:
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.
---
src/util/virjson.c | 8 +++++++-
tests/virjsondata/deflatten-nested-out.json | 32 +++++++++++++++++++----------
2 files changed, 28 insertions(+), 12 deletions(-)
Reviewed-by: John Ferlan <jferlan(a)redhat.com>
John