From 6c734cb6098221c6994a854b46c978c8ba526bac Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Thu, 28 Nov 2013 14:53:50 -0600 Subject: Add explode/implode jq functions to match jv API --- builtin.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'builtin.c') diff --git a/builtin.c b/builtin.c index 721cd3fc..371df372 100644 --- a/builtin.c +++ b/builtin.c @@ -493,6 +493,8 @@ static const struct cfunction function_list[] = { {(cfunction_ptr)f_tonumber, "tonumber", 1}, {(cfunction_ptr)f_tostring, "tostring", 1}, {(cfunction_ptr)f_keys, "keys", 1}, + {(cfunction_ptr)jv_string_explode, "explode", 1}, + {(cfunction_ptr)jv_string_implode, "implode", 1}, {(cfunction_ptr)jv_setpath, "setpath", 3}, // FIXME typechecking {(cfunction_ptr)jv_getpath, "getpath", 2}, {(cfunction_ptr)jv_delpaths, "delpaths", 2}, -- cgit v1.2.3