]> granicus.if.org Git - python/commit
bpo-31553: add --json-lines option to json.tool (#10051)
authorHongWeipeng <961365124@qq.com>
Wed, 7 Nov 2018 10:09:32 +0000 (18:09 +0800)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 7 Nov 2018 10:09:32 +0000 (12:09 +0200)
commitf19447994983902aa88362d8fffe645f1ea2f2aa
tree28d11d764423c8838132f9f61f20fced054ddf6b
parent0e7497cb469b003a45a4abe4105b81ef6d0c4002
bpo-31553: add --json-lines option to json.tool (#10051)

* add jsonlines option to json.tool

* code review

* fix:avoid read infile after it close

* improve doc in whatsnew 3.8
Doc/library/json.rst
Doc/whatsnew/3.8.rst
Lib/json/tool.py
Lib/test/test_json/test_tool.py
Misc/NEWS.d/next/Library/2018-10-23-14-46-47.bpo-31553.JxRkAW.rst [new file with mode: 0644]