fix specs for to_term/x, thanks to michael truog
This commit is contained in:
parent
91dcb65e3c
commit
b57750fcfc
2 changed files with 11 additions and 7 deletions
|
@ -60,11 +60,8 @@ format(Source) -> format(Source, []).
|
|||
format(Source, Opts) -> jsx_to_json:format(Source, Opts).
|
||||
|
||||
|
||||
-spec to_term(Source::binary()) ->
|
||||
list({binary(), any()}).
|
||||
-spec to_term(Source::binary(), Opts::jsx_to_term:opts()) ->
|
||||
list({binary(), any()}).
|
||||
|
||||
-spec to_term(Source::binary()) -> jsx_to_term:json_value().
|
||||
-spec to_term(Source::binary(), Opts::jsx_to_term:opts()) -> jsx_to_term:json_value().
|
||||
|
||||
to_term(Source) -> to_term(Source, []).
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue