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

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




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 redhat com>

John


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