Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@f5io/jsonpath

f5io595MIT1.0.9

Performant JSONPath implementation

jsonpath

readme

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