jshn: add support for the double datatype
[project/libubox.git] / sh / jshn.sh
index 1d9fc80..b4bb1e1 100644 (file)
@@ -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() {