summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--lib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib.c b/lib.c
index 61f4fc2..70bd67e 100644
--- a/lib.c
+++ b/lib.c
@@ -700,6 +700,9 @@ ut_type(struct ut_state *s, struct ut_opcode *op, struct json_object *args)
case json_type_boolean:
return json_object_new_string("bool");
+ case json_type_string:
+ return json_object_new_string("string");
+
default:
return NULL;
}