[PYTHON] Anyway, I want to check JSON data easily

There are many ways to check the JSON data stored in a file on your device

However, it is troublesome to install something even though I just want to check it, so I want to use the one that is included in most environments

I looked it up and found it on stackoverflow

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

cat output.json | python -mjson.tool

It looks like this should be done

It seems that Python2.6 or higher is required, but it is convenient if it is included! !!

Recommended Posts

Anyway, I want to check JSON data easily
I want to easily create a Noise Model
I want to knock 100 data sciences with Colaboratory
I want to get League of Legends data ③
I want to get League of Legends data ②
I want to easily find a delicious restaurant
I want to get League of Legends data ①
I convert AWS JSON data to CSV like this
I want to give a group_id to a pandas data frame
[Python] I want to merge Excel files anyway (pandas.merge)
I want to easily build a model-based development environment
I want to say that there is data preprocessing ~
I want to solve Sudoku (Sudoku)
I want to be able to analyze data with Python (Part 3)
I want to use R functions easily with ipython notebook
I want to easily delete columns containing NA in R
I want to be able to analyze data with Python (Part 1)
I want to be able to analyze data with Python (Part 4)
I want to be able to analyze data with Python (Part 2)
I want to understand systemd roughly
I want to scrape images to learn
I want to do ○○ with Pandas
I want to copy yolo annotations
I want to debug with Python
LINEbot development, I want to check the operation in the local environment
I want to acquire and list Japanese stock data without scraping
I want to check the position of my face with OpenCV!
I want to hack Robomaster S1 ① Rooting and file configuration check
I want to convert vertically held data (long type) to horizontally held data (wide type)
I want to pin Spyder to the taskbar
I want to detect objects with OpenCV
I want to output to the console coolly
[Note] I want to completely preprocess the data of the Titanic issue-Age version-
I want to print in a comprehension
I want to handle the rhyme part1
I want to know how LINUX works!
I want to blog with Jupyter Notebook
I want to handle the rhyme part3
Convert Excel data to JSON with python
I want to use jar from python
I want to build a Python environment
I want to use Linux on mac
I want to pip install with PythonAnywhere
(Python Selenium) I want to check the settings of the download destination of WebDriver
I want to receive the configuration file and check if the JSON file generated by jinja2 is a valid JSON
I want to analyze logs with Python
I analyzed Airbnb data for those who want to stay in Amsterdam
I want to play with aws with python
I want to use IPython Qt Console
I want to display the progress bar
I want to make an automation program!
I want to embed Matplotlib in PySimpleGUI
I want to format and check Python code to my liking on VS Code
I want to handle the rhyme part2
I want to develop Android apps on Android
I want CAPTCHA to say HIWAI words
I want to handle the rhyme part5
I want to handle the rhyme part4
I tried to create a class that can easily serialize Json in Python
I made a tool to easily display data as a graph by GUI operation.
I want to write an element to a file with numpy and check it.