[libvirt] [PATCH 03/11] util: json: Introduce helper to prepend string into a virJSONValueObject

Ján Tomko jtomko at redhat.com
Mon Jul 8 11:43:55 UTC 2019


On Thu, Jul 04, 2019 at 04:26:27PM +0200, Peter Krempa wrote:
>Libvirt treats the JSON objects as lists thus the values appear in the
>order they were added. To avoid too much changes introduce a helper
>which allows to prepend a string which will allow to keep certain
>outputs in order.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/libvirt_private.syms |  1 +
> src/util/virjson.c       | 50 +++++++++++++++++++++++++++++++++-------
> src/util/virjson.h       |  1 +
> 3 files changed, 44 insertions(+), 8 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190708/e60562ed/attachment-0001.sig>


More information about the libvir-list mailing list