Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ unescapeToken
Function
unescapeToken
packages/effect/src/JsonPointer.ts:78–80 ·
view source on GitHub ↗
(token: string)
Source
from the content-addressed store, hash-verified
76
* @since 4.0.0
77
*/
78
export
function
unescapeToken(token: string): string {
79
return
token.replace(/~1/g,
"/"
).replace(/~0/g,
"~"
)
80
}
Callers
5
JsonPointer.test.ts
File · 0.90
rewrite
Function · 0.90
resolve$ref
Function · 0.90
jsonSchemaReferenceKey
Function · 0.90
finalizeJsonSchema
Function · 0.90
Calls
1
replace
Method · 0.45
Tested by
no test coverage detected