summaryrefslogtreecommitdiff
path: root/json-parser.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-11-11 10:38:59 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2009-11-17 08:49:39 -0600
commitd7ff3acbb4496ecae92d7ce1d52579d55b19da2f (patch)
tree896a7ca9bd61da53342373fe5bfcddad834ff108 /json-parser.c
parent5ab8558d9b7e9a5e4ceb0d86f54df7391af3543d (diff)
downloadqemu-d7ff3acbb4496ecae92d7ce1d52579d55b19da2f.tar.gz
Add a JSON message boundary identifier
The second stage of our JSON parser is a simple state machine that identifies individual JSON values by counting the levels of nesting of tokens. It does not perform grammar validation. We use this to emit a full JSON value to the parser. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'json-parser.c')
0 files changed, 0 insertions, 0 deletions