Skip to content

use jq --slurp for multi-line JSON output parsing#635

Merged
jth-nw merged 2 commits intomainfrom
dev
Mar 23, 2026
Merged

use jq --slurp for multi-line JSON output parsing#635
jth-nw merged 2 commits intomainfrom
dev

Conversation

@jth-nw
Copy link
Collaborator

@jth-nw jth-nw commented Mar 23, 2026

No description provided.

jth-nw and others added 2 commits March 23, 2026 15:40
The output file has multi-line JSON objects, so tac (line reversal)
broke them. Use jq -rs (raw slurp) to parse all objects at once and
extract the result. Added fallback grep for robustness.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…tion

fix: use jq --slurp for multi-line JSON output parsing
@jth-nw jth-nw merged commit d1fbf8a into main Mar 23, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant