aboutsummaryrefslogtreecommitdiffstats
path: root/dgbuilder/tools/format_json.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dgbuilder/tools/format_json.sh')
-rwxr-xr-xdgbuilder/tools/format_json.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/dgbuilder/tools/format_json.sh b/dgbuilder/tools/format_json.sh
new file mode 100755
index 00000000..f86ad3cf
--- /dev/null
+++ b/dgbuilder/tools/format_json.sh
@@ -0,0 +1,6 @@
+if [ "$#" != "1" ]
+then
+ echo "Usage: $0 jsonFileFullPath"
+ exit
+fi
+cat $1|python -m json.tool