Skip to content

mesarth/JSONPath-JS-Engine-Compliance

Repository files navigation

JSONPath JavaScript Engine Compliance

This project evaluates how well different JavaScript JSONPath engines comply with the JSONPath standard (RFC 9535). The compliance tests are provided by https://github.com/jsonpath-standard/jsonpath-compliance-test-suite.

The project is inspired by cburgmer's JSONPath comparison which uses consensus among the engines instead of compliance with the standard.

Engines

Results

The results are published at https://mesarth.github.io/JSONPath-JS-Engine-Compliance/

Run comparison locally

Install Node.js

Clone Repo with Submodules (!)

git clone --recurse-submodules https://github.com/mesarth/JSONPath-JS-Engine-Compliance.git

Install Dependencies

npm install

Generate compliance.json file

npm run build

or with debug output

npm run build -- --debug

and/or test queries with invalid selectors (results are not accurate due to the different approaches to error handling between engines)

npm run build -- --test-invalid

Run jekyll site locally

Install Jekyll

npm run serve