1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Improvements to del(foo).

del(foo,bar) is now very different from del(foo),del(bar).
See #37.
This commit is contained in:
Stephen Dolan
2012-12-29 16:13:06 +00:00
parent 3a5377e183
commit 465a4ec565
4 changed files with 138 additions and 49 deletions

View File

@@ -7,7 +7,7 @@ jv jv_get(jv t, jv k);
jv jv_set(jv t, jv k, jv v);
jv jv_setpath(jv root, jv path, jv value);
jv jv_getpath(jv root, jv path);
jv jv_delpath(jv root, jv path);
jv jv_delpaths(jv root, jv paths);
jv jv_keys(jv /*object or array*/);
int jv_cmp(jv, jv);