summaryrefslogtreecommitdiff
path: root/json_object.c
diff options
context:
space:
mode:
Diffstat (limited to 'json_object.c')
-rw-r--r--json_object.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/json_object.c b/json_object.c
index b5083f3..7d60884 100644
--- a/json_object.c
+++ b/json_object.c
@@ -1078,3 +1078,8 @@ int json_object_equal(struct json_object* jso1, struct json_object* jso2)
return 0;
}
+
+int json_object_array_del_idx(struct json_object *jso, int idx, int count)
+{
+ return array_list_del_idx(jso->o.c_array, idx, count);
+}