Class: RelativeJSONPointer
A relative JSON Pointer.
See https://datatracker.ietf.org/doc/html/draft-hha-relative-json-pointer
Constructors
new RelativeJSONPointer()
new RelativeJSONPointer(
rel
):RelativeJSONPointer
Parameters
rel
string
Returns
Defined in
Properties
index
readonly
index:number
Defined in
origin
readonly
origin:number
Defined in
pointer
readonly
pointer:string
|JSONPointer
Defined in
Methods
isIntLike()
protected
isIntLike(value
):boolean
Parameters
value
undefined
| string
| number
Returns
boolean
Defined in
parse()
protected
parse(rel
): [number
,number
,string
|JSONPointer
]
Parameters
rel
string
Returns
[number
, number
, string
| JSONPointer
]
Defined in
parseInt()
protected
parseInt(s
):number
Parameters
s
string
Returns
number
Defined in
to()
to(
pointer
):JSONPointer
Parameters
pointer
string
| JSONPointer
Returns
Defined in
toString()
toString():
string
Returns
string