Changes for version 2.18 - 2026-01-16

  • Improve from_entries() to handle numeric keys by normalizing them to strings, allowing array indexes and numeric object keys to be processed correctly.
  • Add round-trip coverage for arrays via to_entries | from_entries, ensuring sequential numeric keys (0..n-1) are reconstructed as arrays rather than plain objects.
  • Add regression tests for numeric key handling in from_entries(), including non-sequential keys and collisions between "0" and 0 (last-write-wins).

Documentation

minimal jq-style JSON filter (pure Perl)

Modules

jq-compatible JSON query engine in pure Perl (no external binaries)

Provides

in lib/JQ/Lite/Expression.pm
in lib/JQ/Lite/Filters.pm
in lib/JQ/Lite/Parser.pm
in lib/JQ/Lite/Util.pm
in lib/JQ/Lite/Util/Parsing.pm
in lib/JQ/Lite/Util/Paths.pm
in lib/JQ/Lite/Util/Transform.pm