JSON_AS_ASCII
JSONの中の文字(non ASCII)をASCIIにエンコードしない。
By default Flask serialize object to ascii-encoded JSON. If this is set to False Flask will not encode to ASCII and output strings as-is and return unicode strings. jsonify will automatically encode it in utf-8 then for transport for instance.
http://flask.pocoo.org/docs/0.12/config/
なのだけど、例のUnicodeDecodeErrorでコケた。
- Flask 0.12.2
- Python 2.7.13