config() = #config{dirty_strings = boolean(), escaped_forward_slashes = boolean(), escaped_strings = boolean(), multi_term = boolean(), strict_comments = boolean(), strict_commas = boolean(), strict_utf8 = boolean(), strict_single_quotes = boolean(), strict_escapes = boolean(), strict_control_codes = boolean(), stream = boolean(), return_tail = boolean(), uescape = boolean(), unescaped_jsonp = boolean(), error_handler = false | jsx_config:handler(), incomplete_handler = false | jsx_config:handler()}
handler() = handler_type(handler())
handler_type(Handler) = fun((jsx:json_text() | end_stream | jsx:json_term(), {decoder, any(), module(), null | list(), list()} | {parser, any(), module(), list()} | {encoder, any(), module()}, [{pre_encode, fun((any()) -> any())} | {error_handler, Handler} | {incomplete_handler, Handler} | atom()]) -> any())
label_option() = binary | atom | existing_atom | attempt_atom
legacy_option() = strict_comments | strict_commas | strict_utf8 | strict_single_quotes | strict_escapes | strict_control_codes
option() = valid_flag() | {valid_flag(), boolean()} | {strict, [strict_option()]} | {error_handler, fun((any(), any(), any()) -> ok)} | {incomplete_handler, fun((any(), any(), any()) -> ok)} | {return_maps, boolean()} | {labels, label_option()} | {space, non_neg_integer()} | {indent, non_neg_integer()} | {depth, non_neg_integer()} | {newline, binary()} | legacy_option() | {legacy_option(), boolean()}
options() = [option()]
strict_option() = comments | trailing_commas | utf8 | single_quotes | escapes | control_codes
valid_flag() = escaped_forward_slashes | escaped_strings | unescaped_jsonp | dirty_strings | multi_term | return_tail | repeat_keys | strict | stream | uescape | error_handler | incomplete_handler
| config_to_list/1 | |
| extract_config/1 | |
| parse_config/1 | |
| valid_flags/0 |
valid_flags() -> [valid_flag(), ...]
Generated by EDoc