decode/1 | |
decode/2 | |
encode/1 | |
encode/2 | |
try_decode/1 | |
try_decode/2 | |
try_encode/1 | |
try_encode/2 |
decode(JSON::iodata()) -> thoas:json_term()
decode(JSON::iodata(), Opts::thoas:decode_options()) -> thoas:json_term()
encode(Term::thoas:json_term()) -> iodata()
encode(Term::thoas:json_term(), Opts::thoas:encode_options()) -> iodata()
try_decode(JSON::iodata()) -> {ok, thoas:json_term()} | {error, Reason::term()}
try_decode(JSON::iodata(), Opts::thoas:decode_options()) -> {ok, thoas:json_term()} | {error, Reason::term()}
try_encode(Term::thoas:json_term()) -> {ok, iodata()} | {error, Reason::term()}
try_encode(Term::thoas:json_term(), Opts::thoas:decode_options()) -> {ok, iodata()} | {error, Reason::term()}
Generated by EDoc