From: Shevek <shevek@anarres.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] QApi: Java interface
Date: Sun, 29 Jun 2014 17:35:15 -0700 [thread overview]
Message-ID: <53B0B0C3.4010203@anarres.org> (raw)
Hi,
I have written a Java code generator to allow a Java control process to
interface with the QApi subsystem. The code is autogenerated from the
JSON schema, and imposes as much strict typing as is possible. It can
easily be regenerated from any branch or directory if you want to test
against a development version of QApi.
The code is available here:
https://github.com/shevek/qemu-qapi-java
I would be interested in offering this to the community, and in hearing
any feedback.
Feedback to QApi developers: The QApi specification uses a lot of
oddities, including "**" as a type, various odd things like "number" (I
forget offhand), and using Java/C reserved words as key names, which
make it a little harder to do an elegant code generation job from the
QApi schema. However, inelegance permitted, here it is.
Thank you.
S.
reply other threads:[~2014-06-30 0:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=53B0B0C3.4010203@anarres.org \
--to=shevek@anarres.org \
--cc=qemu-devel@nongnu.org \
/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.