I am happy to post another blog post on how to format a JSON string in GNU/Linux.
If a string is large then JSON looks very cryptic and it becomes difficult to search/edit it.
We can format easily using the Python interpreter. Python provides JSON modules that will do the needful.
#echo ‘content’ | python -m json.tool
Hope this post helps you. Please subscribe and comment if you have any doubts.
Happy Learning !!