summaryrefslogtreecommitdiffstats
path: root/qobject/json-parser.c
Commit message (Expand)AuthorAgeFilesLines
* json: Fix a memleak in parse_pair()Alex Chen2020-11-171-6/+6
* json: Move switch 'fall through' comment to correct placePhilippe Mathieu-Daudé2019-08-211-1/+1
* qemu-common: Move qemu_isalnum() etc. to qemu/ctype.hMarkus Armbruster2019-06-111-1/+1
* json: Fix % handling when not interpolatingChristophe Fergeau2019-01-241-4/+6
* json: Fix to reject duplicate object member namesMarkus Armbruster2018-12-131-0/+5
* json: Update references to RFC 7159 to RFC 8259Markus Armbruster2018-08-241-1/+1
* json: Support %% in JSON strings when interpolatingMarkus Armbruster2018-08-241-1/+2
* json: Improve safety of qobject_from_jsonf_nofail() & friendsMarkus Armbruster2018-08-241-2/+10
* json: Keep interpolation state in JSONParserContextMarkus Armbruster2018-08-241-29/+30
* json: Clean up headersMarkus Armbruster2018-08-241-3/+1Star
* json: Make JSONToken opaque outside json-parser.cMarkus Armbruster2018-08-241-0/+19
* json: Unbox tokens queue in JSONMessageParserMarkus Armbruster2018-08-241-1/+0Star
* json: Assert json_parser_parse() consumes all tokens on successMarkus Armbruster2018-08-241-0/+1
* json: Fix latent parser aborts at end of inputMarkus Armbruster2018-08-241-2/+0Star
* json: Replace %I64d, %I64u by %PRId64, %PRIu64Markus Armbruster2018-08-241-4/+6
* json: Leave rejecting invalid interpolation to parserMarkus Armbruster2018-08-241-0/+1
* json: Treat unwanted interpolation as lexical errorMarkus Armbruster2018-08-241-4/+0Star
* json: Rename token JSON_ESCAPE & friends to JSON_INTERPMarkus Armbruster2018-08-241-4/+4
* json: Don't pass null @tokens to json_parser_parse()Markus Armbruster2018-08-241-4/+0Star
* json: Redesign the callback to consume JSON valuesMarkus Armbruster2018-08-241-6/+1Star
* json-parser: simplify and avoid JSONParserContext allocationMarc-André Lureau2018-08-241-32/+9Star
* json: Fix \uXXXX for surrogate pairsMarkus Armbruster2018-08-241-21/+39
* json: Reject invalid \uXXXX, fix \u0000Markus Armbruster2018-08-241-29/+6Star
* json: Simplify parse_string()Markus Armbruster2018-08-241-23/+19Star
* json: Leave rejecting invalid escape sequences to parserMarkus Armbruster2018-08-241-23/+33
* json: Accept overlong \xC0\x80 as U+0000 ("modified UTF-8")Markus Armbruster2018-08-241-1/+1
* json: Report first rather than last parse errorMarkus Armbruster2018-08-241-4/+4
* json: Reject invalid UTF-8 sequencesMarkus Armbruster2018-08-241-6/+14
* json: Tighten and simplify qstring_from_escaped_str()'s loopMarkus Armbruster2018-08-241-23/+7Star
* qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREFMarc-André Lureau2018-05-041-5/+5
* qapi: Make more of qobject_to()Max Reitz2018-03-191-6/+7
* qapi: Replace qobject_to_X(o) by qobject_to(X, o)Max Reitz2018-03-191-1/+1
* Include qapi/qmp/qdict.h exactly where neededMarkus Armbruster2018-02-091-0/+1
* Include qapi/qmp/qlist.h exactly where neededMarkus Armbruster2018-02-091-0/+1
* qdict qlist: Make most helper macros functionsMarkus Armbruster2018-02-091-0/+2
* Eliminate qapi/qmp/types.hMarkus Armbruster2018-02-091-1/+2
* qapi: Separate type QNull from QObjectMarkus Armbruster2017-07-241-1/+1
* json: learn to parse uint64 numbersMarc-André Lureau2017-06-201-8/+28
* qapi: merge QInt and QFloat in QNumMarc-André Lureau2017-06-201-16/+14Star
* qapi: Improve use of qmp/types.hEric Blake2016-07-061-6/+1Star
* util: move declarations out of qemu-common.hVeronia Bahaa2016-03-221-1/+0Star
* include/qemu/osdep.h: Don't include qapi/error.hMarkus Armbruster2016-03-221-0/+1
* qobject: Document more shortcomings in our number handlingEric Blake2016-02-081-2/+4
* qobject: Clean up includesPeter Maydell2016-02-041-1/+1
* qjson: surprise, allocating 6 QObjects per token is expensivePaolo Bonzini2015-11-261-67/+48Star
* qjson: store tokens in a GQueuePaolo Bonzini2015-11-261-45/+20Star
* qjson: Convert to parser to recursive descentMarkus Armbruster2015-11-261-118/+47Star
* qjson: Inline token_is_escape() and simplifyMarkus Armbruster2015-11-261-17/+15Star
* qjson: Inline token_is_keyword() and simplifyMarkus Armbruster2015-11-261-13/+7Star
* qjson: Give each of the six structural chars its own token typeMarkus Armbruster2015-11-261-22/+9Star