summaryrefslogtreecommitdiff
path: root/recipes-support/multitech/jsparser/jspp
blob: 16b60e138b0ca40b6e926287fa460f0b20e0e265 (plain)
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