Changes for version 1.03 - 2025-10-18

  • Refactor
    • Refactored JQ::Lite to delegate query parsing and filter execution to dedicated modules, keeping only orchestration logic in the main package.
    • Introduced JQ::Lite::Parser to normalize query strings before execution, handling trimming and shorthand conversions such as `.[]` into flatten semantics.
    • Centralized jq-style filter implementations in JQ::Lite::Filters, wiring each command to shared utility routines and standardizing result handling.
    • Moved shared helper functions into JQ::Lite::Util, consolidating common operations like assignments, traversal, and numeric utilities.
  • Maintenance
    • Improved internal structure for clarity, maintainability, and easier extension of jq-compatible features in future releases.
    • No user-facing behavior changes; this refactor is fully backward compatible.

Modules

A lightweight jq-like JSON query engine in Perl

Provides

in lib/JQ/Lite/Filters.pm
in lib/JQ/Lite/Parser.pm
in lib/JQ/Lite/Util.pm