Changes for version 0.24 - 2025-04-06

  • Added support for numeric expressions inside select(), e.g.: select(.id + 5 > 20)
  • Enhanced run_query() to evaluate simple arithmetic operations (+, -, *, /, %) in filters
  • Improved CLI query parsing to allow function-style queries like: map(select(.id > 10)) without requiring a leading dot ('.')
  • Verified compatibility with map(), length, sort, and select chaining
  • Added test cases for arithmetic expressions and map/select combinations

Modules

A lightweight jq-like JSON query engine in Perl