api change, parser/0,1 deprecated, replaced with decoder/0,1
This commit is contained in:
parent
6cc28573b6
commit
b2d923cbcb
8 changed files with 38 additions and 26 deletions
|
@ -22,7 +22,7 @@ the following module
|
|||
-export([simple_decode/1]).
|
||||
|
||||
simple_decode(JSON) when is_binary(JSON) ->
|
||||
P = jsx:parser(),
|
||||
P = jsx:decoder(),
|
||||
decode(P(JSON), []).
|
||||
|
||||
decode({event, end_json, _Next}, Acc) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue