MCPcopy Index your code
hub / github.com/Starcounter-Jack/JSON-Patch / unescapePathComponent

Function unescapePathComponent

module/helpers.mjs:89–91  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

87 * @return The unescaped path
88 */
89export function unescapePathComponent(path) {
90 return path.replace(/~1/g, '/').replace(/~0/g, '~');
91}
92export function _getPathRecursive(root, obj) {
93 var found;
94 for (var key in root) {

Callers 2

applyOperationFunction · 0.90
applyOperationFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…