Invert the description of encode

This commit is contained in:
John Daily 2013-03-08 16:39:36 -05:00
parent cb14b92a22
commit 940b2453cf

View file

@ -375,7 +375,7 @@ encode(Term, Opts) -> JSON
N = pos_integer()
```
`encode` parses a json text (a `utf8` encoded binary) and produces an erlang term
`encode` converts an erlang term into json text (a `utf8` encoded binary)
the option `{space, N}` inserts `N` spaces after every comma and colon in your json output. `space` is an alias for `{space, 1}`. the default is `{space, 0}`