* Unescapes a json pointer path * @param path The escaped pointer * @return The unescaped path
(path)
| 93 | * @return The unescaped path |
| 94 | */ |
| 95 | function unescapePathComponent(path) { |
| 96 | return path.replace(/~1/g, '/').replace(/~0/g, '~'); |
| 97 | } |
| 98 | exports.unescapePathComponent = unescapePathComponent; |
| 99 | function _getPathRecursive(root, obj) { |
| 100 | var found; |
nothing calls this directly
no outgoing calls
no test coverage detected