New submission from Knut: module json python 2.7.12
json.dump(..., indent=4, sort_keys=True) gives me: { "size": { "total": 19106,X "code": 18614,X "data": 492 },X "next_item": 10 } The "X" mark extra trailing space characters which are needless. ---------- components: Library (Lib) messages: 283354 nosy: voxspox priority: normal severity: normal status: open title: json.dump + indent creates trailing extra spaces type: resource usage versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28984> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com