Twice as fast, 1/6th the memory
Comments are moderated. It may take a few minutes before your comment appears.
Markdown is supported in your comments.
(insert) is complicated. It is the reverse of extract. Extract puts a json sub-element on the stack. Insert removes a sub-element from the stack, and inserts that bit of json into the larger array/object underneath. Use extract to dive into the json tree, delete/string/nonstring to change things, and insert to push the changes back up the tree.