I kept hitting jq: parse error on AI streams, so I built sjq
This story is from 2026-10-16. It is preserved in the archive; the latest stories are on the live feed.
If you work with LLMs, you've done this: curl -N | jq . And you've seen this: jq: parse error: Invalid numeric literal at line 1, column 9 Column 9. That's where data: ends and the JSON begins. An SSE stream isn't JSON — it's a framing protocol: data: {...} lines separated by blank lines, [DONE] at…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-10-16 00:44 · DEV Community — AI
I kept hitting jq: parse error on AI streams, so I built sjq