Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-45644: Make json.tool read infile before writing to outfile (GH-29273) | Chris Wesseling | 2021-11-06 | 1 | -7/+14 |
| | | | | | | | | | so that $ python -m json.tool foo.json foo.json doesn't result in an empty foo.json. Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | bpo-39828: Fix json.tool to catch BrokenPipeError (GH-18779) | Dong-hee Na | 2020-03-10 | 1 | -1/+4 |
| | |||||
* | bpo-29636: json.tool: Add document for indentation options. (GH-17482) | Daniel Himmelstein | 2019-12-07 | 1 | -1/+2 |
| | | | And updated test to use subprocess.run | ||||
* | bpo-27413: json.tool: Add --no-ensure-ascii option. (GH-17472) | wim glenn | 2019-12-06 | 1 | -0/+3 |
| | |||||
* | bpo-33684: json.tool: Use utf-8 for infile and outfile. (GH-17460) | Inada Naoki | 2019-12-04 | 1 | -2/+4 |
| | |||||
* | bpo-29636: Add --(no-)indent arguments to json.tool (GH-345) | Daniel Himmelstein | 2019-12-04 | 1 | -7/+23 |
| | |||||
* | json.tool: use stdin and stdout in default cmdlne arguments (GH-11992) | Hervé Beraud | 2019-05-14 | 1 | -4/+6 |
| | | | | Argparse can handle default value as stdin and stdout for parameters as file type (infile, outfile). | ||||
* | bpo-31553: add --json-lines option to json.tool (#10051) | HongWeipeng | 2018-11-07 | 1 | -5/+11 |
| | | | | | | | | | | * add jsonlines option to json.tool * code review * fix:avoid read infile after it close * improve doc in whatsnew 3.8 | ||||
* | bpo-32360: Remove OrderedDict usage from json.tool (GH-5315) | INADA Naoki | 2018-01-25 | 1 | -6/+1 |
| | | | `object_pairs_hook=OrderedDict` idiom is deprecated. | ||||
* | Issue #21650: Add an `--sort-keys` option to json.tool CLI. | Berker Peksag | 2014-11-10 | 1 | -2/+10 |
| | |||||
* | improve the command-line interface of json.tool (closes #21000) | Benjamin Peterson | 2014-03-22 | 1 | -12/+15 |
| | | | | A patch from Berker Peksag. | ||||
* | Issue #17225: JSON decoder now counts columns in the first line starting | Serhiy Storchaka | 2013-02-21 | 1 | -1/+1 |
|\ | | | | | | | with 1, as in other lines. | ||||
| * | Issue #17225: JSON decoder now counts columns in the first line starting | Serhiy Storchaka | 2013-02-21 | 1 | -1/+1 |
| | | | | | | | | with 1, as in other lines. | ||||
| * | #16476: Fix json.tool to avoid including trailing whitespace. | Ezio Melotti | 2012-11-29 | 1 | -1/+2 |
|/ | |||||
* | #16549: Make json.tool work again on Python 3 and add tests. Initial patch ↵ | Ezio Melotti | 2012-11-29 | 1 | -9/+11 |
| | | | | by Berker Peksag and Serhiy Storchaka. | ||||
* | Issue #5067: improve some json error messages. | Antoine Pitrou | 2012-06-28 | 1 | -1/+1 |
| | | | | Patch by Serhiy Storchaka. | ||||
* | port simplejson upgrade from the trunk #4136 | Benjamin Peterson | 2009-05-02 | 1 | -3/+3 |
| | | | | | | json also now works only with unicode strings Patch by Antoine Pitrou; updated by me | ||||
* | Merged revisions 62734,62736,62748,62769 via svnmerge from | Christian Heimes | 2008-05-08 | 1 | -0/+37 |
svn+ssh://pythondev@svn.python.org/python/trunk ........ r62734 | brett.cannon | 2008-05-05 22:21:38 +0200 (Mon, 05 May 2008) | 5 lines Add the 'json' package. Code taken from simplejson 1.9 and contributed by Bob Ippolito. Closes issue #2750. ........ r62736 | georg.brandl | 2008-05-05 22:53:39 +0200 (Mon, 05 May 2008) | 2 lines Fix JSON module docs. ........ r62748 | benjamin.peterson | 2008-05-06 04:51:10 +0200 (Tue, 06 May 2008) | 2 lines PEP 8 nits in json package ........ r62769 | christian.heimes | 2008-05-06 18:18:41 +0200 (Tue, 06 May 2008) | 2 lines Intern static string Use float constructors instead of magic code for float constants ........ |