parser (and encoder) accept calendar:datetime()
tuples and
convert into iso8601 strings
This commit is contained in:
parent
6b43609730
commit
78f48db162
4 changed files with 34 additions and 2 deletions
|
@ -46,7 +46,8 @@
|
|||
| [json_term()] | []
|
||||
| true | false | null
|
||||
| integer() | float()
|
||||
| binary() | atom().
|
||||
| binary() | atom()
|
||||
| calendar:datetime().
|
||||
-endif.
|
||||
|
||||
-ifdef(maps_support).
|
||||
|
@ -55,7 +56,8 @@
|
|||
| map()
|
||||
| true | false | null
|
||||
| integer() | float()
|
||||
| binary() | atom().
|
||||
| binary() | atom()
|
||||
| calendar:datetime().
|
||||
-endif.
|
||||
|
||||
-type json_text() :: binary().
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue