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.
-ifndef(maps_support).
-type json_term() :: [{binary() | atom(), json_term()}] | [{}]
| [json_term()] | []
| true | false | null
| integer() | float()
| 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().