summaryrefslogtreecommitdiff
path: root/lib/json.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/json.h')
-rw-r--r--lib/json.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/json.h b/lib/json.h
index c8866c524a..afe0b175da 100644
--- a/lib/json.h
+++ b/lib/json.h
@@ -48,6 +48,9 @@ extern void json_object_int_add(struct json_object *obj, const char *key,
int64_t i);
void json_object_boolean_add(struct json_object *obj, const char *key,
bool val);
+
+extern void json_object_double_add(struct json_object *obj, const char *key,
+ double i);
extern void json_object_boolean_false_add(struct json_object *obj,
const char *key);
extern void json_object_boolean_true_add(struct json_object *obj,