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 @@
-spec is_json(JSON::binary(), Opts::verify_opts()) -> true | false.
is_json(JSON, Opts) ->
Encoding = proplists:get_value(encoding, Opts, utf8),
Comments = proplists:get_value(comments, Opts, false),