Re: [libvirt] [PATCH 3/7] util: json: Use virBuffer in JSON->string conversion

2019-04-02 Thread Laine Stump
On 3/29/19 9:33 AM, Peter Krempa wrote: The last step of the conversion involves copying of the generated JSON into a separate string. We can use a virBuffer to do this as this will also allow to subsequently use the buffer when we actually need to do some other formatting of the string.

[libvirt] [PATCH 3/7] util: json: Use virBuffer in JSON->string conversion

2019-03-29 Thread Peter Krempa
The last step of the conversion involves copying of the generated JSON into a separate string. We can use a virBuffer to do this as this will also allow to subsequently use the buffer when we actually need to do some other formatting of the string. Signed-off-by: Peter Krempa ---