xemu/qobject
Max Reitz 9f23fc0c23 qapi: extend qdict_flatten() for QLists
Reversing qdict_array_split(), qdict_flatten() should flatten QLists as
well by interpreting them as QDicts where every entry's key is its
index.

This allows bringing QDicts with QLists from QMP commands to the same
form as they would be given as command-line options, thereby allowing
them to be parsed the same way.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-01-22 12:07:17 +01:00
..
json-lexer.c build: move qobject files to qobject/ and libqemuutil.a 2013-01-12 18:42:50 +01:00
json-parser.c json-parser: fix handling of large whole number values 2013-05-23 09:44:20 -04:00
json-streamer.c build: move qobject files to qobject/ and libqemuutil.a 2013-01-12 18:42:50 +01:00
Makefile.objs build: move qobject files to qobject/ and libqemuutil.a 2013-01-12 18:42:50 +01:00
qbool.c build: move qobject files to qobject/ and libqemuutil.a 2013-01-12 18:42:50 +01:00
qdict.c qapi: extend qdict_flatten() for QLists 2014-01-22 12:07:17 +01:00
qerror.c qerror: Remove assert_no_error() 2014-01-06 15:02:30 -05:00
qfloat.c build: move qobject files to qobject/ and libqemuutil.a 2013-01-12 18:42:50 +01:00
qint.c build: move qobject files to qobject/ and libqemuutil.a 2013-01-12 18:42:50 +01:00
qjson.c qapi: Anonymous unions 2013-07-26 21:10:11 +02:00
qlist.c build: move qobject files to qobject/ and libqemuutil.a 2013-01-12 18:42:50 +01:00
qstring.c qstring: add qstring_get_length() 2013-04-05 08:42:29 -04:00