diff options
author | Nicolas Williams <nico@cryptonector.com> | 2013-11-28 14:53:50 -0600 |
---|---|---|
committer | Nicolas Williams <nico@cryptonector.com> | 2013-12-04 18:21:38 -0600 |
commit | 6c734cb6098221c6994a854b46c978c8ba526bac (patch) | |
tree | d476304c09116ddf02de5c5ee515d23d2ec6785d /builtin.c | |
parent | ef41d1cb57b521334d3d8f771c9417881d6e0c94 (diff) |
Add explode/implode jq functions to match jv API
Diffstat (limited to 'builtin.c')
-rw-r--r-- | builtin.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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}, |