[libvirt] [PATCH 7/9] util: json: Recursively deflatten objects virJSONValueObjectDeflatten
John Ferlan
jferlan at redhat.com
Mon Jul 10 13:51:04 UTC 2017
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 at redhat.com>
John
More information about the libvir-list
mailing list