Skip to content

fix(builtins): use streaming JSON deserializer in jq for multi-line input#194

Merged
chaliy merged 1 commit intomainfrom
claude/fix-jq-multiline-xHZcm
Feb 10, 2026
Merged

fix(builtins): use streaming JSON deserializer in jq for multi-line input#194
chaliy merged 1 commit intomainfrom
claude/fix-jq-multiline-xHZcm

Conversation

@chaliy
Copy link
Contributor

@chaliy chaliy commented Feb 10, 2026

Summary

  • Replace line-by-line JSON parsing with serde_json::StreamDeserializer
  • Properly handles multi-line pretty-printed JSON, NDJSON, and concatenated values
  • Works for both regular and slurp (-s) modes

Test plan

  • All 19 jq unit tests pass
  • jq spec tests pass
  • cargo check clean

…nput

Replace line-by-line JSON parsing with serde_json::StreamDeserializer
to properly handle multi-line pretty-printed JSON, NDJSON, and
concatenated JSON values. Works for both regular and slurp (-s) modes.

https://claude.ai/code/session_014b3FmJKqDyhYrisYnGC2M9
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@chaliy chaliy merged commit 780ef1f into main Feb 10, 2026
9 checks passed
@chaliy chaliy mentioned this pull request Feb 17, 2026
4 tasks
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.

2 participants