Add with_tail
to decode
spec
`with_tail` was not defined in the spec and would fail usage of anyone using this return format
This commit is contained in:
parent
b6c9408977
commit
cc4d7121b3
2 changed files with 4 additions and 0 deletions
|
@ -46,6 +46,7 @@
|
|||
-ifndef(maps_support).
|
||||
-type json_term() :: [{binary() | atom(), json_term()}] | [{},...]
|
||||
| [json_term()] | []
|
||||
| {with_tail, json_term(), binary()}
|
||||
| true | false | null
|
||||
| integer() | float()
|
||||
| binary() | atom()
|
||||
|
@ -55,6 +56,7 @@
|
|||
-ifdef(maps_support).
|
||||
-type json_term() :: [{binary() | atom(), json_term()}] | [{},...]
|
||||
| [json_term()] | []
|
||||
| {with_tail, json_term(), binary()}
|
||||
| #{ binary() | atom() => json_term() }
|
||||
| true | false | null
|
||||
| integer() | float()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue