Commit graph

8 commits

Author SHA1 Message Date
David Lord
056c62e0b0 detect UTF encodings when loading json 2018-04-10 09:34:59 -07:00
David Lord
aa4db37a7f revert copyright year to project start
add copyright header to files
2018-02-08 12:43:30 -08:00
David Lord
04f0dc162f concat newline in jsonify
ref pallets/werkzeug#1130
2018-01-03 13:06:14 -08:00
Eugene M. Kim
f251f91b35 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
9386115d1f finish documentation
[ci skip]
2017-06-02 08:09:37 -07:00
David Lord
389c2c9708 docs style cleanup
[ci skip]
2017-06-02 07:03:22 -07:00
David Lord
bce296bbcc 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
45af152108 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