added type specs to all publically exported functions
This commit is contained in:
parent
cf38a9a466
commit
aa3385a31d
6 changed files with 136 additions and 2 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue