Skip to main content

core.pathtojsonpointer

Home > @medplum/core > pathToJSONPointer

pathToJSONPointer() function​

Translates a path emitted by this crawler into an RFC6902 JSON Patch pointer

Signature:

export declare function pathToJSONPointer(path: string): string;

Parameters​

Parameter

Type

Description

path

string

A path emitted from a Crawler

Returns:

string

pointer -An RFC6902 pointer describing the path