Re: [PATCH 7/9] util: json: Recursively deflatten objects virJSONValueObjectDeflatten

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

John

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux