readme typo
This commit is contained in:
parent
a9b36522bd
commit
439f934ebb
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ the option `labels` controls how keys are converted from json to erlang terms. `
|
|||
|
||||
```erlang
|
||||
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]}]
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue