Statistics
| Branch: | Revision:

root / json-streamer.c @ 29c75ddd

History | View | Annotate | Download (2.9 kB)

# Date Author Comment
29c75ddd 06/07/2011 09:52 pm Anthony Liguori

json-streamer: limit the maximum recursion depth and maximum token count

Signed-off-by: Michael Roth <>
Signed-off-by: Anthony Liguori <>

55f8301f 06/07/2011 09:52 pm Anthony Liguori

json-streamer: allow recovery after bad input

Once we detect a malformed message, make sure to reset our state.

Signed-off-by: Michael Roth <>
Signed-off-by: Anthony Liguori <>

2e89c068 06/11/2010 09:25 pm Luiz Capitulino

json-streamer: Don't use qdict_put_obj()

It's not needed, use qobject_put() instead and get a cleaner code.

Signed-off-by: Luiz Capitulino <>

d7ff3acb 11/17/2009 04:49 pm Anthony Liguori

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...