[libvirt] [PATCH 6/9] util: json: Add accessor for geting a VIR_JSON_TYPE_NUMBER as string

Ján Tomko jtomko at redhat.com
Fri Mar 30 21:13:44 UTC 2018


On Fri, Mar 30, 2018 at 12:59:13PM +0200, Peter Krempa wrote:
>Sometimes it's desired to get a JSON number as string. Add a helper.
>This will help in cases where we'd want to conver the internal type from

s/conver/convert/

>string to something else.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/libvirt_private.syms |  1 +
> src/util/virjson.c       | 10 ++++++++++
> src/util/virjson.h       |  1 +
> 3 files changed, 12 insertions(+)
>

ACK

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180330/585941e4/attachment-0001.sig>


More information about the libvir-list mailing list