From 00a833c5b6f44c8cf2a7a9838de32d0dc5400a90 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 17 Mar 2013 00:50:03 +0100 Subject: jshn: add support for the double datatype Signed-off-by: Felix Fietkau --- sh/jshn.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sh') diff --git a/sh/jshn.sh b/sh/jshn.sh index 1d9fc80..b4bb1e1 100644 --- a/sh/jshn.sh +++ b/sh/jshn.sh @@ -182,6 +182,10 @@ json_add_boolean() { _json_add_generic boolean "$1" "$2" } +json_add_double() { + _json_add_generic double "$1" "$2" +} + # functions read access to json variables json_load() { -- cgit v1.2.3