1 2 3 4 5 6 7 8 9
#!/bin/bash if [ $# -lt 1 ]; then echo "usage: $0 <filepath>" echo " prints json in readable format" exit 1 fi cat $1 | jsparser --jsobj