MCPcopy Create free account
hub / github.com/eclipsesource/jsonforms / decode

Function decode

packages/core/src/util/path.ts:97–98  ·  view source on GitHub ↗
(pointerSegment: string)

Source from the content-addressed store, hash-verified

95 * Decodes a given JSON Pointer segment to its "normal" representation
96 */
97export const decode = (pointerSegment: string) =>
98 pointerSegment?.replace(/~1/g, '/').replace(/~0/, '~');
99
100/**
101 * Transform a dotted path to a uiSchema properties path

Callers 4

isRequiredFunction · 0.90
deriveLabelFunction · 0.90
getControlPathFunction · 0.90
removeSchemaKeywordsFunction · 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…