[Libguestfs] [PATCH 3/3] v2v: add -o json output mode

Pino Toscano ptoscano at redhat.com
Fri Mar 29 16:02:20 UTC 2019


On Monday, 25 March 2019 16:00:54 CET Richard W.M. Jones wrote:
> If we pushed the baseline of OCaml up by (I think) just a single
> version then most of this code could be generated automatically from
> the description in the Types module.  It would rely on the "new"
> (actually rather old) feature called extension points (ppx) which I
> think was added in 4.02.

I can check whether it is feasible.  Note it is not always a 1:1
mapping, in some cases the JSON represents the data better than the
various structs.

I'll send v2 of this series with the fixes for patches #1/#2, and
rebased on master.

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20190329/5b82f1a0/attachment.sig>


More information about the Libguestfs mailing list