jiffy icon indicating copy to clipboard operation
jiffy copied to clipboard

Export 'encode_options/0' and 'decode_options/0' types

Open emqplus opened this issue 5 years ago • 0 comments

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

emqplus avatar Jan 19 '20 02:01 emqplus