aboutsummaryrefslogtreecommitdiff
path: root/qobject/json-parser.c
AgeCommit message (Expand)AuthorFilesLines
2022-03-22Replace GCC_FMT_ATTR with G_GNUC_PRINTFMarc-André Lureau1-1/+1
2021-02-04qobject: open brace '{' following struct go on the same lineZhang Han1-2/+1
2020-12-19json: Use GString instead of QString to accumulate stringsMarkus Armbruster1-15/+15
2020-11-17json: Fix a memleak in parse_pair()Alex Chen1-6/+6
2019-08-21json: Move switch 'fall through' comment to correct placePhilippe Mathieu-Daudé1-1/+1
2019-06-11qemu-common: Move qemu_isalnum() etc. to qemu/ctype.hMarkus Armbruster1-1/+1
2019-01-24json: Fix % handling when not interpolatingChristophe Fergeau1-4/+6
2018-12-13json: Fix to reject duplicate object member namesMarkus Armbruster1-0/+5
2018-08-24json: Update references to RFC 7159 to RFC 8259Markus Armbruster1-1/+1
2018-08-24json: Support %% in JSON strings when interpolatingMarkus Armbruster1-1/+2
2018-08-24json: Improve safety of qobject_from_jsonf_nofail() & friendsMarkus Armbruster1-2/+10
2018-08-24json: Keep interpolation state in JSONParserContextMarkus Armbruster1-29/+30
2018-08-24json: Clean up headersMarkus Armbruster1-3/+1
2018-08-24json: Make JSONToken opaque outside json-parser.cMarkus Armbruster1-0/+19
2018-08-24json: Unbox tokens queue in JSONMessageParserMarkus Armbruster1-1/+0
2018-08-24json: Assert json_parser_parse() consumes all tokens on successMarkus Armbruster1-0/+1
2018-08-24json: Fix latent parser aborts at end of inputMarkus Armbruster1-2/+0
2018-08-24json: Replace %I64d, %I64u by %PRId64, %PRIu64Markus Armbruster1-4/+6
2018-08-24json: Leave rejecting invalid interpolation to parserMarkus Armbruster1-0/+1
2018-08-24json: Treat unwanted interpolation as lexical errorMarkus Armbruster1-4/+0
2018-08-24json: Rename token JSON_ESCAPE & friends to JSON_INTERPMarkus Armbruster1-4/+4
2018-08-24json: Don't pass null @tokens to json_parser_parse()Markus Armbruster1-4/+0
2018-08-24json: Redesign the callback to consume JSON valuesMarkus Armbruster1-6/+1
2018-08-24json-parser: simplify and avoid JSONParserContext allocationMarc-André Lureau1-32/+9
2018-08-24json: Fix \uXXXX for surrogate pairsMarkus Armbruster1-21/+39
2018-08-24json: Reject invalid \uXXXX, fix \u0000Markus Armbruster1-29/+6
2018-08-24json: Simplify parse_string()Markus Armbruster1-23/+19
2018-08-24json: Leave rejecting invalid escape sequences to parserMarkus Armbruster1-23/+33
2018-08-24json: Accept overlong \xC0\x80 as U+0000 ("modified UTF-8")Markus Armbruster1-1/+1
2018-08-24json: Report first rather than last parse errorMarkus Armbruster1-4/+4
2018-08-24json: Reject invalid UTF-8 sequencesMarkus Armbruster1-6/+14
2018-08-24json: Tighten and simplify qstring_from_escaped_str()'s loopMarkus Armbruster1-23/+7
2018-05-04qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREFMarc-André Lureau1-5/+5
2018-03-19qapi: Make more of qobject_to()Max Reitz1-6/+7
2018-03-19qapi: Replace qobject_to_X(o) by qobject_to(X, o)Max Reitz1-1/+1
2018-02-09Include qapi/qmp/qdict.h exactly where neededMarkus Armbruster1-0/+1
2018-02-09Include qapi/qmp/qlist.h exactly where neededMarkus Armbruster1-0/+1
2018-02-09qdict qlist: Make most helper macros functionsMarkus Armbruster1-0/+2
2018-02-09Eliminate qapi/qmp/types.hMarkus Armbruster1-1/+2
2017-07-24qapi: Separate type QNull from QObjectMarkus Armbruster1-1/+1
2017-06-20json: learn to parse uint64 numbersMarc-André Lureau1-8/+28
2017-06-20qapi: merge QInt and QFloat in QNumMarc-André Lureau1-16/+14
2016-07-06qapi: Improve use of qmp/types.hEric Blake1-6/+1
2016-03-22util: move declarations out of qemu-common.hVeronia Bahaa1-1/+0
2016-03-22include/qemu/osdep.h: Don't include qapi/error.hMarkus Armbruster1-0/+1
2016-02-08qobject: Document more shortcomings in our number handlingEric Blake1-2/+4
2016-02-04qobject: Clean up includesPeter Maydell1-1/+1
2015-11-26qjson: surprise, allocating 6 QObjects per token is expensivePaolo Bonzini1-67/+48
2015-11-26qjson: store tokens in a GQueuePaolo Bonzini1-45/+20
2015-11-26qjson: Convert to parser to recursive descentMarkus Armbruster1-118/+47