Static
apiStatic
compileBuilds a JSON pointer from an array of reference tokens
Static
dictReturns a (pointer -> value) dictionary for an object
Static
escapeStatic
getLookup a JSON pointer in an object
Static
hasTests if an object has a value for a JSON pointer
Static
isReturns true if potentialAncestor is an ancestor of jsonPtr. For example, if jsonPtr is /a/b/c/d and potentialAncestor is /a/b, this returns true.
The JSON pointer to check.
The potential ancestor JSON pointer.
Static
parentStatic
parseStatic
removeRemoves an attribute
Static
rootishStatic
setSets a value on an object
Static
unescapeStatic
walkIterates over an object Iterator: function (value, pointer) {}
Optional
descend: DescentCallbackGenerated using TypeDoc
Convenience wrapper around jp. Calls
.get
when called with anobject
and apointer
. Calls.set
when also called withvalue
. If only suppliedobject
, returns a partially applied function, mapped to the object.