[libvirt] [PATCH 1/2] util: json: Add helper to return string or number properties as string

Jiri Denemark jdenemar at redhat.com
Wed Jan 31 11:17:03 UTC 2018


On Wed, Jan 31, 2018 at 12:07:31 +0100, Peter Krempa wrote:
> The helper is useful when in cases when JSON we have to parse may return

s/when in/in/

> one of the two due to historical reasons and the number value itself
> would be stored as a string.
> ---
>  src/util/virjson.c | 27 +++++++++++++++++++++++++++
>  src/util/virjson.h |  1 +
>  2 files changed, 28 insertions(+)

ACK

Jirka




More information about the libvir-list mailing list