Files
tsukino eb18485361 Fix parser to return range for entire array when accessing array field (#212)
When calling parser.ranges.body('a', {type: 'json'}) for a body like
{a: [{b: 1}, {c: 2}]}, the parser now returns the range for the entire
array value instead of returning empty.

Changes:
- Store array field with full range (key + value) before processing elements
- hideKey option returns just the array value: [{b: 1}, {c: 2}]
- hideValue option returns just the key: "a"

Added tests for:
- Extracting entire array value directly
- hideKey/hideValue options for array fields
- Array of primitives
- Nested array fields (e.g., data.items)
2026-01-06 19:16:14 +08:00
..
2025-12-16 17:50:16 +08:00
2025-12-16 17:50:16 +08:00
2025-12-16 17:50:16 +08:00
2025-12-16 17:50:16 +08:00