Add a JSON message boundary identifier
authorAnthony Liguori <aliguori@us.ibm.com>
Wed, 11 Nov 2009 16:38:59 +0000 (10:38 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 17 Nov 2009 14:49:39 +0000 (08:49 -0600)
commita76f32d13adaf316f61be5b1ed5438ee6ff77a05
tree896a7ca9bd61da53342373fe5bfcddad834ff108
parente2181ed0ed42891c0db3be4d166ea8ae1129712d
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>
Makefile
json-streamer.c [new file with mode: 0644]
json-streamer.h [new file with mode: 0644]