From: "Richard W.M. Jones" <rjones@redhat.com>
To: "Austin S. Hemmelgarn" <ahferroin7@gmail.com>
Cc: dsterba@suse.cz, linux-btrfs@vger.kernel.org, ptoscano@redhat.com
Subject: Re: RFE: 'btrfs' tools machine readable output
Date: Tue, 17 May 2016 14:32:14 +0100 [thread overview]
Message-ID: <20160517133214.GT1683@redhat.com> (raw)
In-Reply-To: <b9136e93-2099-245e-46a0-941d72279e1f@gmail.com>
As I said I don't have any particular favourite format. However I'll
just point you to the code that qemu uses (basically open-coding) to
write json:
http://git.qemu.org/?p=qemu.git;a=blob;f=qobject/qjson.c;h=ef160d2119eb18aa917b71b40e37d54880b1ac7f;hb=HEAD#l83
Hopefully this is useful as a data point.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
next prev parent reply other threads:[~2016-05-17 13:32 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-16 12:14 RFE: 'btrfs' tools machine readable output Richard W.M. Jones
2016-05-16 12:21 ` Martin Steigerwald
2016-05-16 12:39 ` Richard W.M. Jones
2016-05-16 12:46 ` Pino Toscano
2016-05-16 12:39 ` Austin S. Hemmelgarn
2016-05-27 19:47 ` Nicholas D Steeves
2016-05-31 12:15 ` Austin S. Hemmelgarn
2016-05-17 9:33 ` David Sterba
2016-05-17 11:14 ` Austin S. Hemmelgarn
2016-05-17 12:23 ` David Sterba
2016-05-17 13:05 ` Austin S. Hemmelgarn
2016-05-17 13:32 ` Richard W.M. Jones [this message]
2016-05-17 15:04 ` David Sterba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160517133214.GT1683@redhat.com \
--to=rjones@redhat.com \
--cc=ahferroin7@gmail.com \
--cc=dsterba@suse.cz \
--cc=linux-btrfs@vger.kernel.org \
--cc=ptoscano@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.