Match jsx:json_term() / jsx_to_term:json_value() specs for empty object.

This commit is contained in:
Guilherme Andrade 2015-10-12 14:56:11 +01:00
parent 50eff667a1
commit 5e0df7b77d
2 changed files with 4 additions and 4 deletions

View file

@ -44,7 +44,7 @@
-ifndef(maps_support).
-type json_term() :: [{binary() | atom(), json_term()}] | [{}]
-type json_term() :: [{binary() | atom(), json_term()}] | [{},...]
| [json_term()] | []
| true | false | null
| integer() | float()
@ -53,7 +53,7 @@
-endif.
-ifdef(maps_support).
-type json_term() :: [{binary() | atom(), json_term()}] | [{}]
-type json_term() :: [{binary() | atom(), json_term()}] | [{},...]
| [json_term()] | []
| map()
| true | false | null

View file

@ -46,7 +46,7 @@
-ifndef(maps_support).
-type json_value() :: list(json_value())
| list({binary() | atom(), json_value()})
| list({binary() | atom(), json_value()}) | [{},...]
| true
| false
| null
@ -57,7 +57,7 @@
-ifdef(maps_support).
-type json_value() :: list(json_value())
| list({binary() | atom(), json_value()})
| list({binary() | atom(), json_value()}) | [{},...]
| map()
| true
| false