Module jsx_config

Data Types

config()

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() = handler_type(handler())

handler_type()

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())

Function Index

config_to_list/1
extract_config/1
parse_config/1
valid_flags/0

Function Details

config_to_list/1

config_to_list(Config::config()) -> proplists:proplist()

extract_config/1

extract_config(Config::proplists:proplist()) -> proplists:proplist()

parse_config/1

parse_config(Config::proplists:proplist()) -> config()

valid_flags/0

valid_flags() -> [atom()]


Generated by EDoc