Merge pull request #90 from g-andrade/develop
Match jsx:json_term() / jsx_to_term:json_value() specs for empty object.
This commit is contained in:
commit
991d668578
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue