parser (and encoder) accept calendar:datetime() tuples and

convert into iso8601 strings
This commit is contained in:
alisdair sullivan 2014-08-13 23:32:19 -07:00
parent 6b43609730
commit 78f48db162
4 changed files with 34 additions and 2 deletions

View file

@ -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().