summaryrefslogtreecommitdiff
path: root/qobject/json-parser.c
AgeCommit message (Expand)AuthorFilesLines
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
2015-11-26qjson: Inline token_is_escape() and simplifyMarkus Armbruster1-17/+15
2015-11-26qjson: Inline token_is_keyword() and simplifyMarkus Armbruster1-13/+7
2015-11-26qjson: Give each of the six structural chars its own token typeMarkus Armbruster1-22/+9
2015-06-22Include qapi/qmp/qerror.h exactly where neededMarkus Armbruster1-1/+0
2015-06-22qobject: Use 'bool' for qboolEric Blake1-3/+3
2015-05-11json-parser: Accept 'null' in QMPEric Blake1-0/+2
2014-06-11json-parser: drop superfluous assignment for token variableGonglei1-13/+2
2014-04-25qerror.h: Remove QERR defines that are only used onceCole Robinson1-1/+1