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