jshn: add an option for printing the json data without a terminating newline
[project/libubox.git] / sh / jshn.sh
index b27d852..63d4b09 100644 (file)
@@ -77,7 +77,7 @@ json_load() {
 }
 
 json_dump() {
-       jshn -w
+       jshn "$@" -w
 }
 
 json_get_type() {