changed end_of_json to end_json
This commit is contained in:
parent
e245d8aa92
commit
813058e2fb
7 changed files with 19 additions and 19 deletions
|
@ -87,7 +87,7 @@ event({Type, Value}, [Array|Stack]) when is_list(Array) ->
|
|||
|
||||
event(reset, _) ->
|
||||
[];
|
||||
event(end_of_json, [Stack]) ->
|
||||
event(end_json, [Stack]) ->
|
||||
Stack.
|
||||
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ prettify({Type, Value}, {Acc, Indent, Level, key}) ->
|
|||
|
||||
prettify(reset, {_, Indent, _, _}) ->
|
||||
{[], Indent, 0, new};
|
||||
prettify(end_of_json, {Acc, _, _, _}) ->
|
||||
prettify(end_json, {Acc, _, _, _}) ->
|
||||
Acc.
|
||||
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ event({string, String}, capture) ->
|
|||
|
||||
event(reset, _) ->
|
||||
0;
|
||||
event(end_of_json, _) ->
|
||||
event(end_json, _) ->
|
||||
throw(not_found);
|
||||
|
||||
event(_, Level) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue