updated examples
This commit is contained in:
parent
d25f96f798
commit
50b0d03083
3 changed files with 9 additions and 3 deletions
|
@ -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.
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue