LoginSignup
11
10

More than 5 years have passed since last update.

とにかく簡単に JSON データを確認したい

Posted at

ファイルに保存された JSON データを端末上で確認する方法はたくさんあります

しかしちょっと確認したいだけなのに何かをインストールするのは面倒なので大抵の環境で入っているものを使いたいです

調べたら stackoverflow にありました

unix - How can I pretty-print JSON from the command line? - Stack Overflow

cat output.json | python -mjson.tool

こんな感じにすれば良さそうです

Python2.6 以上が必須のようですが,入っている環境なら便利!!

11
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
10