unified eep0018 encoder and decoders into single module

This commit is contained in:
alisdair sullivan 2010-08-06 17:58:10 -07:00
parent ab7f1c8353
commit 330a1916b8
4 changed files with 244 additions and 276 deletions

View file

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