View Source euneus_decoder (euneus v0.3.0)
Summary
Types
-type input() :: binary() | iolist().
-type normalize_fun(Input) :: fun((Input, options()) -> term()).
-type options() :: #{null_term => term(), normalize_key => normalize_fun(Input :: binary()), normalize_value => normalize_fun(Input :: binary()), normalize_array => normalize_fun(Input :: list()), normalize_object => normalize_fun(Input :: map())}.
-type position() :: non_neg_integer().
-type result() :: {ok, term()} | {error, error_reason()}.