JSONPointer

open fun JSONPointer(pointer: String)

Pre-parses and initializes a new JSONPointer instance. If you want to evaluate the same JSON Pointer on different JSON documents then it is recommended to keep the JSONPointer instances due to performance considerations.

Parameters

pointer

the JSON String or URI Fragment representation of the JSON pointer.

Throws

if pointer is not a valid JSON pointer


open fun JSONPointer(refTokens: List<String>)