Const
Traverses root with the given path, deleting the last item if it exists
the original input, or undefined if path was empty
Traverses root with the given path, deleting the last item if it exists
the original input, or undefined if path was empty
Returns the value resulting from traversing root with the given path
Returns the value resulting from traversing root with the given path
Traverses root with the given path, returning true if the entire path exists
Traverses root with the given path, returning true if the entire path exists
Traverses root with the given path, creating missing members and elements as required, setting the final value to value. If value is undefined, then the leaf node is deleted and any generated parents are discarded
Optional
creator: ((next: PathSegment) => Json)optional method for creating missing parents as a path is constructed. default is creator_err_object
Traverses root with the given path, creating missing members and elements as required, and applies update to the final value. Note: if update returns undefined, the leaf node is deleted and any generated parents are discarded
the original (but modified) root, or the result of updating the original root if path is empty
accepts the current value and returns the resulting value
Optional
creator: ((next: PathSegment) => Json)optional method for creating missing parents as a path is constructed. default is creator_err_object
Generated using TypeDoc
Fixed collection of traversal methods tailored for the Json type