This is the same as the patches I sent last Friday, but split better and without the extraneous change to the seabios submodule.
v1->v2: rearranged patches more coherently Paolo Bonzini (3): add some tests for invalid JSON implement optional lookahead in json lexer remove unnecessary lookaheads check-qjson.c | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++++- json-lexer.c | 106 +++++++++++++++++++++++++++----------------------------- 2 files changed, 148 insertions(+), 56 deletions(-)