unified eep0018 encoder and decoders into single module
This commit is contained in:
parent
ab7f1c8353
commit
330a1916b8
4 changed files with 244 additions and 276 deletions
|
@ -71,7 +71,7 @@ term_to_json(JSON) ->
|
|||
term_to_json(JSON, []).
|
||||
|
||||
term_to_json(JSON, Opts) ->
|
||||
jsx_encoder:term_to_json(JSON, Opts).
|
||||
jsx_eep0018:term_to_json(JSON, Opts).
|
||||
|
||||
|
||||
-spec json_to_term(JSON::binary()) -> json().
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue