Commit graph

5 commits

Author SHA1 Message Date
Eugene M. Kim
d41e2e6a5d Correctly encode aware, non-UTC datetime objects
http_date() requires timetuple in UTC, but JSONEncoder.default() was
passing a local timetuple instead.
2017-06-14 12:40:53 -07:00
David Lord
9bee2500dd
finish documentation
[ci skip]
2017-06-02 08:09:37 -07:00
David Lord
bbd15d53ad
docs style cleanup
[ci skip]
2017-06-02 07:03:22 -07:00
David Lord
ca176cb903
pass serializer at tag init instead of to each method
split tagged dict and passthrough into separate cases
add docstrings
2017-06-02 06:36:13 -07:00
David Lord
5e1ced3c05
make session serializer extensible
support serializing 1-item dicts with tag as key
refactor serializer into flask.json.tag module
continues #1452, closes #1438, closes #1908
2017-06-01 22:47:23 -07:00