(source, property, callback)
| 849 | |
| 850 | // Internal: Updates a traversed object member. |
| 851 | var update = function (source, property, callback) { |
| 852 | var element = walk(source, property, callback); |
| 853 | if (element === undefined) { |
| 854 | delete source[property]; |
| 855 | } else { |
| 856 | source[property] = element; |
| 857 | } |
| 858 | }; |
| 859 | |
| 860 | // Internal: Recursively traverses a parsed JSON object, invoking the |
| 861 | // `callback` function for each value. This is an implementation of the |