MCPcopy 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 */
78export function unescapeToken(token: string): string {
79 return token.replace(/~1/g, "/").replace(/~0/g, "~")
80}

Callers 5

rewriteFunction · 0.90
resolve$refFunction · 0.90
jsonSchemaReferenceKeyFunction · 0.90
finalizeJsonSchemaFunction · 0.90

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected