added type specs to all publically exported functions

This commit is contained in:
alisdair sullivan 2010-09-15 21:30:25 -07:00
parent cf38a9a466
commit aa3385a31d
6 changed files with 136 additions and 2 deletions

View file

@ -40,6 +40,8 @@
-endif.
-spec format(JSON::binary(), Opts::format_opts()) -> binary() | iolist().
format(JSON, Opts) when is_binary(JSON) ->
P = jsx:parser(extract_parser_opts(Opts)),