@f5io/jsonpath

Performant JSONPath implementation


Keywords
jsonpath
License
MIT
Install
npm install @f5io/jsonpath@1.0.1

Documentation

jsonpath

Build Status Coverage Status

--- Performant JSONPath implementation that focusses on results

Features

  • Fast
  • Extended syntax support
  • Error safe, using a simple Maybe functor under the hood
  • Memoized compilation of queries
  • 100% code coverage

Syntax

COMING SOON

Installation

$ npm install --save @f5io/jsonpath

or if you have yarn installed on your machine

$ yarn add @f5io/jsonpath

Usage

const jp = require('@f5io/jsonpath');
const jsonPathQueryStr = '$..h[?(@.foo>13)]';
const result = jp(jsonPathQueryStr,jsonObject);

Contributors