Evaluate JSON Pointer expressions against ApiDOM.
npm install @speclynx/apidom-json-pointerapidom-json-pointer is a package that evaluates JSON Pointer against ApiDOM.
You can install this package via npm CLI by running the following command:
``sh`
$ npm install @speclynx/apidom-json-pointer
The API of this package is fully compliant with RFC 6901 and supports all aspects of JSON Pointer.
Uses @swaggerexpert/json-pointer under the hood and fully reflects its API.
Evaluation is contextual to ApiDOM realm - meaning evaluate function
expects only ApiDOM as the first argument.
`js``
import { evaluate } from '@speclynx/apidom-json-pointer';