JSONPathEx: A New Elixir Library for Parsing and Evaluating JSONPath Expressions
JSONPathEx is an Elixir library designed for parsing and evaluating JSONPath expressions. It provides tools to transform JSONPath syntax into an Abstract Syntax Tree (AST) and evaluate these expressions against JSON data.
The library supports a variety of JSONPath features, including root selectors, recursive descent, array slicing, filters, and functions like length()
, sum()
, min()
, and max()
. Built with NimbleParsec, JSONPathEx is modular, making it easy to extend or customize.
The project is open source and available on GitHub and Hex.pm. Contributions, feedback, and suggestions are welcome!