Copyright © 2012-2021 Marc Worrell
Authors: Marc Worrell.
decode/1 | Decode a JSON binary to an Erlang term. |
encode/1 | Encode an Erlang term to JSON. |
json_escape/1 | JSON escape for safe quoting of JSON strings. |
decode(Json::binary() | undefined) -> term()
Decode a JSON binary to an Erlang term.
encode(Erlang::binary() | map() | list() | undefined) -> binary()
Encode an Erlang term to JSON.
json_escape(Value::iodata() | undefined) -> iodata()
JSON escape for safe quoting of JSON strings. Subtly different from JS escape, see http://www.json.org/
Generated by EDoc