Merge pull request #57 from yjh0502/develop

Fix dialyzer with maps_support
This commit is contained in:
alisdair sullivan 2014-06-09 18:29:14 -07:00
commit 4df8e5092a

View file

@ -41,11 +41,22 @@
-endif. -endif.
-ifndef(maps_support).
-type json_term() :: [{binary() | atom(), json_term()}] | [{}] -type json_term() :: [{binary() | atom(), json_term()}] | [{}]
| [json_term()] | [] | [json_term()] | []
| true | false | null | true | false | null
| integer() | float() | integer() | float()
| binary() | atom(). | binary() | atom().
-endif.
-ifdef(maps_support).
-type json_term() :: [{binary() | atom(), json_term()}] | [{}]
| [json_term()] | []
| map()
| true | false | null
| integer() | float()
| binary() | atom().
-endif.
-type json_text() :: binary(). -type json_text() :: binary().