Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSONPath Query Interpreter (WIP)

A work-in-progress interpreter for JSONPath Query Expressions as described in RFC 9535.

Usage

Running

Create a build using cargo build --release or use cargo run.

jsonpath-q -q <query> [-f <filepath>]
Options:
  -q, --query       query eg: "$['foo'].[1]"
  -f, --filepath    filepath
  --help, help      display usage information

You can also stdin to provide input. Eg: cat data.json | jsonpath-q -q <query>.

Testing

All tests are currently in src/lib.rs. To run them, use cargo test.

Author

License

Distributed under the MIT License. See LICENSE for more information.

References

About

An interpreter for JSONPath Query Expressions

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages