diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-03-17 03:50:03 +0400 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-03-17 03:50:03 +0400 |
commit | 00a833c5b6f44c8cf2a7a9838de32d0dc5400a90 (patch) | |
tree | 605bb40f1a9ed1e95eb54ffcb0bd9136f0ebc0f9 /sh | |
parent | 49e6e062b8effe281a85de167c16c5f039b74442 (diff) |
jshn: add support for the double datatype
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'sh')
-rw-r--r-- | sh/jshn.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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() { |