config() = jsx_config:config()
decoder() = fun((json_text() | end_stream | end_json) -> any())
encoder() = fun((json_term() | end_stream | end_json) -> any())
abstract datatype: internal_state()
json_term() = [{binary() | atom(), json_term()}] | [{}, ...] | [json_term()] | [] | true | false | null | integer() | float() | binary() | atom() | calendar:datetime()
json_text() = binary()
parser() = fun((token() | end_stream) -> any())
token() = [token()] | start_object | end_object | start_array | end_array | {key, binary()} | {string, binary()} | binary() | {number, integer() | float()} | {integer, integer()} | {float, float()} | integer() | float() | {literal, true} | {literal, false} | {literal, null} | true | false | null | end_json
| consult/1 | |
| consult/2 | |
| decode/1 | |
| decode/2 | |
| decoder/3 | |
| encode/1 | |
| encode/2 | |
| encoder/3 | |
| format/1 | |
| format/2 | |
| is_json/1 | |
| is_json/2 | |
| is_term/1 | |
| is_term/2 | |
| maps_support/0 | |
| minify/1 | |
| parser/3 | |
| prettify/1 | |
| resume/3 |
consult(File::file:name_all()) -> [json_term()]
consult(File::file:name_all(), Config::jsx_to_term:config()) -> [json_term()]
decode(Source::json_text()) -> json_term()
decode(Source::json_text(), Config::jsx_to_term:config()) -> json_term() | {incomplete, decoder()}
decoder(Handler::module(), State::any(), Config::list()) -> decoder()
encode(Source::json_term()) -> json_text()
encode(Source::json_term(), Config::jsx_to_json:config()) -> json_text() | {incomplete, encoder()}
encoder(Handler::module(), State::any(), Config::list()) -> encoder()
format(Source::json_text()) -> json_text()
format(Source::json_text(), Config::jsx_to_json:config()) -> json_text() | {incomplete, decoder()}
is_json(Source::any()) -> boolean()
is_json(Source::any(), Config::jsx_verify:config()) -> boolean() | {incomplete, decoder()}
is_term(Source::any()) -> boolean()
is_term(Source::any(), Config::jsx_verify:config()) -> boolean() | {incomplete, encoder()}
maps_support() -> boolean()
minify(Source::json_text()) -> json_text()
parser(Handler::module(), State::any(), Config::list()) -> parser()
prettify(Source::json_text()) -> json_text()
resume(Term::json_text() | token(), InternalState::internal_state(), Config::list()) -> any()
Generated by EDoc