Match jsx:json_term() / jsx_to_term:json_value() specs for empty object.
This commit is contained in:
parent
50eff667a1
commit
5e0df7b77d
2 changed files with 4 additions and 4 deletions
|
@ -44,7 +44,7 @@
|
||||||
|
|
||||||
|
|
||||||
-ifndef(maps_support).
|
-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()
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
-endif.
|
-endif.
|
||||||
|
|
||||||
-ifdef(maps_support).
|
-ifdef(maps_support).
|
||||||
-type json_term() :: [{binary() | atom(), json_term()}] | [{}]
|
-type json_term() :: [{binary() | atom(), json_term()}] | [{},...]
|
||||||
| [json_term()] | []
|
| [json_term()] | []
|
||||||
| map()
|
| map()
|
||||||
| true | false | null
|
| true | false | null
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
|
|
||||||
-ifndef(maps_support).
|
-ifndef(maps_support).
|
||||||
-type json_value() :: list(json_value())
|
-type json_value() :: list(json_value())
|
||||||
| list({binary() | atom(), json_value()})
|
| list({binary() | atom(), json_value()}) | [{},...]
|
||||||
| true
|
| true
|
||||||
| false
|
| false
|
||||||
| null
|
| null
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
|
|
||||||
-ifdef(maps_support).
|
-ifdef(maps_support).
|
||||||
-type json_value() :: list(json_value())
|
-type json_value() :: list(json_value())
|
||||||
| list({binary() | atom(), json_value()})
|
| list({binary() | atom(), json_value()}) | [{},...]
|
||||||
| map()
|
| map()
|
||||||
| true
|
| true
|
||||||
| false
|
| false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue