Format one line of json for easy viewing

echo '{"foo": "lorem", "bar": "ipsum"}' | python -m json.tool

Source: How can I pretty-print JSON?

Recommended Posts

Format one line of json for easy viewing
Easy to see difference of json
Python hand play (one line notation of if)
Easy understanding of Python for & arrays (for super beginners)
Python text reading for multiple lines and one line
Settings for easy selection of multiple kernels in Jupyter
Implementation example of LINE BOT server for actual operation