Updates a KeyPath and adds the name of a field in a JSON document.
Updates a KeyPath and adds the value of an index in a JSON array.
To construct a Keypath, you must start with an empty value.
Renders a Keypath to a string.
Fold over the values in a KeyPath to transform them into a value of some other type.
(Hint: toString implements fold directly! You can check out the source on Github to see how it's done.)
Representation of a value used to access a field in a JSON document.