updated examples

This commit is contained in:
alisdair sullivan 2010-06-07 16:28:48 -07:00
parent d25f96f798
commit 50b0d03083
3 changed files with 9 additions and 3 deletions

View file

@ -85,7 +85,9 @@ event({Type, Value}, [{key, Key}, Object|Stack]) ->
event({Type, Value}, [Array|Stack]) when is_list(Array) ->
[[?MODULE:Type(Value)] ++ Array] ++ Stack;
event(end_of_stream, [Stack]) ->
event(reset, _) ->
[];
event(end_of_json, [Stack]) ->
Stack.