qemu/include/qapi/qmp
Markus Armbruster f1cc129df8 qobject: Use GString instead of QString to accumulate JSON
QString supports modifying its string, but it's quite limited: you can
only append.  The remaining callers use it for building an initial
string, never for modifying it later.

Use of GString for building the initial string is actually more
convenient here.  Change qobject_to_json() & friends to do that.

Once all such uses are replaced this way, QString can become immutable.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20201211171152.146877-5-armbru@redhat.com>
2020-12-19 10:38:43 +01:00
..
dispatch.h remove preconfig state 2020-12-15 12:51:48 -05:00
json-parser.h json: Clean up headers 2018-08-24 20:26:37 +02:00
qbool.h qobject: use a QObjectBase_ struct 2018-05-04 08:27:53 +02:00
qdict.h qobject: Eliminate qdict_iter(), use qdict_first(), qdict_next() 2020-04-30 06:51:15 +02:00
qerror.h ui: Improve a client_migrate_info error message 2020-12-10 17:16:44 +01:00
qjson.h qobject: Make qobject_to_json_pretty() take a pretty argument 2020-12-19 10:38:43 +01:00
qlist.h qobject: Eliminate qlist_iter(), use QLIST_FOREACH_ENTRY() instead 2020-04-30 06:51:15 +02:00
qlit.h qlit: add qobject_from_qlit() 2018-03-19 10:00:14 -05:00
qnull.h qobject: Modify qobject_ref() to return obj 2018-05-04 08:27:53 +02:00
qnum.h json: Update references to RFC 7159 to RFC 8259 2018-08-24 20:27:14 +02:00
qobject.h qobject: Modify qobject_ref() to return obj 2018-05-04 08:27:53 +02:00
qstring.h qobject: Use GString instead of QString to accumulate JSON 2020-12-19 10:38:43 +01:00