]> git.ipfire.org Git - thirdparty/qemu.git/commit
qobject: New qdict_from_jsonf_nofail()
authorMarkus Armbruster <armbru@redhat.com>
Tue, 3 Jul 2018 08:53:47 +0000 (10:53 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 24 Jul 2018 20:05:01 +0000 (15:05 -0500)
commit441784598e7cf1695657cd958a5f6e3326da01f9
treead273e52e95205c56ed368ff7049593ce760d714
parent2f36efaeb15761d6863ea29c6fbeaf15d596cc17
qobject: New qdict_from_jsonf_nofail()

Many uses of qobject_from_jsonf() convert JSON objects.  Create new
convenience function qdict_from_jsonf_nofail() that includes the
conversion to QDict.  The next few commits will put it to use.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180703085358.13941-22-armbru@redhat.com>
(cherry picked from commit a193352ff9c7cd2cd07846118bc49921d0f53af8)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
include/qapi/qmp/qjson.h
qobject/qjson.c