-
-
Save t2psyto/ea8f3627859b88856838 to your computer and use it in GitHub Desktop.
json を pretty print するPythonワンライナー。日本語をエスケープしない。 ref: http://qiita.com/t2psyto/items/123f22669c6d94d53c5f
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo '{"one":1, "two":2, "日本語":"あああ"}' | python -mjson.tool | |
{ | |
"one": 1, | |
"two": 2, | |
"\u65e5\u672c\u8a9e": "\u3042\u3042\u3042" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment