Pretty Json in Bash

Simply pipe through

python -m json.tool

e.g.

 

curl -u Administrator:kpassword http://172.16.3.136:8091//pools/default | python -m json.tool

 

CategoriesUncategorized

Leave a Reply

Your email address will not be published. Required fields are marked *