aboutsummaryrefslogtreecommitdiffstats
path: root/json-streamer.c
AgeCommit message (Collapse)AuthorFilesLines
2010-06-11json-streamer: Don't use qdict_put_obj()Luiz Capitulino1-4/+4
It's not needed, use qobject_put() instead and get a cleaner code. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2009-11-17Add a JSON message boundary identifierAnthony Liguori1-0/+88
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>