updated examples for new api

This commit is contained in:
alisdair sullivan 2010-06-09 00:58:23 -07:00
parent f042908c30
commit 38aef5f383
4 changed files with 4 additions and 4 deletions

View file

@ -32,7 +32,7 @@
%% also is not streaming, though it could be modified to parse partial objects/lists.
is_json(JSON) ->
P = jsx:decoder({jsx_verify, event, ok}, []),
P = jsx:parser({jsx_verify, event, ok}, []),
case P(JSON) of
{incomplete, _} ->
false