jiffy
jiffy copied to clipboard
Export 'encode_options/0' and 'decode_options/0' types
The types may be used in a wrapper module, such as emqx_json
:
-type(encode_options() :: jiffy:encode_options()).
-spec(encode(json_term(), encode_options()) -> json_text()).
encode(Term, Opts) -> jiffy:encode(Term, Opts).