qemu/qobject
Markus Armbruster 68af4cc121 json: Use GString instead of QString to accumulate strings
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.

Change parse_string() to do build the initial string with GString.
This is another step towards making QString immutable.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20201211171152.146877-18-armbru@redhat.com>
2020-12-19 10:39:23 +01:00
..
block-qdict.c qobject: Catch another straggler for use of qdict_put_str() 2018-10-26 17:17:32 +02:00
json-lexer.c json: Fix off-by-one assert check in next_state() 2019-03-26 08:10:11 +01:00
json-parser-int.h json: Eliminate lexer state IN_WHITESPACE, pseudo-token JSON_SKIP 2018-09-24 18:08:07 +02:00
json-parser.c json: Use GString instead of QString to accumulate strings 2020-12-19 10:39:23 +01:00
json-streamer.c json: Fix check for unbalanced right curly brace 2020-04-07 13:10:11 +02:00
json-writer.c qobject: Factor JSON writer out of qobject_to_json() 2020-12-19 10:39:16 +01:00
meson.build qobject: Factor JSON writer out of qobject_to_json() 2020-12-19 10:39:16 +01:00
qbool.c qobject: Move internals to qobject-internal.h 2020-12-19 10:38:43 +01:00
qdict.c qobject: Move internals to qobject-internal.h 2020-12-19 10:38:43 +01:00
qjson.c qobject: Factor JSON writer out of qobject_to_json() 2020-12-19 10:39:16 +01:00
qlist.c qobject: Move internals to qobject-internal.h 2020-12-19 10:38:43 +01:00
qlit.c qapi: Replace qobject_to_X(o) by qobject_to(X, o) 2018-03-19 14:58:36 -05:00
qnull.c qobject: Move internals to qobject-internal.h 2020-12-19 10:38:43 +01:00
qnum.c qobject: Factor JSON writer out of qobject_to_json() 2020-12-19 10:39:16 +01:00
qobject-internal.h qobject: Move internals to qobject-internal.h 2020-12-19 10:38:43 +01:00
qobject.c qobject: Move internals to qobject-internal.h 2020-12-19 10:38:43 +01:00
qstring.c qobject: Drop qstring_get_try_str() 2020-12-19 10:39:16 +01:00