diff options
Diffstat (limited to 'sh')
-rw-r--r-- | sh/jshn.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -180,6 +180,10 @@ json_load() { eval "`jshn -r "$1"`" } +json_load_file() { + eval "`jshn -R "$1"`" +} + json_dump() { jshn "$@" ${JSON_PREFIX:+-p "$JSON_PREFIX"} -w } |