readme typo

This commit is contained in:
alisdair sullivan 2012-04-06 09:13:42 -07:00
parent a9b36522bd
commit 439f934ebb

View file

@ -247,7 +247,7 @@ the option `labels` controls how keys are converted from json to erlang terms. `
```erlang ```erlang
1> F = fun(V) when is_list(V) -> V; (V) -> false end. 1> F = fun(V) when is_list(V) -> V; (V) -> false end.
2> jsx:to_term(<<"{"a list": [true, "a string", 1]}">>, [{post_decode, F}]). 2> jsx:to_term(<<"{\"a list\": [true, \"a string\", 1]}">>, [{post_decode, F}]).
[{<<"a list">>, [false, false, false]}] [{<<"a list">>, [false, false, false]}]
``` ```