jsonpath-cli

1.0.1 • Public • Published

jsonpath-cli

Command Line node application to query JSON using jsonpath

Motivation

jq is an awsome json query utility however jsonpath has (IMHO) a much simpler query language and easier to learn. I did not find a command line implementation to directly use JSON path queries.

How to install

npm install -g jsonpath-cli

How to execute

cat <input.json> | jpath <jsonpath query>

Jsonpath query quick Reference:

https://www.npmjs.com/package/jsonpath#jsonpath-syntax

Readme

Keywords

Package Sidebar

Install

npm i jsonpath-cli

Weekly Downloads

1,382

Version

1.0.1

License

ISC

Unpacked Size

3.15 kB

Total Files

4

Last publish

Collaborators

  • rsingh25