I prefer jsonl from command line tools, just cause it’s nicer to log, and parse using standard tools. Plus it’s like a two second function if you’re doing it in a real programming language. I think it’s the best of both worlds.
They say to use JSON lines for streaming, but even if you’re not it’s still very nice to be able to do my_command | grep xyz and still have it be parseable
They say to use JSON lines for streaming, but even if you’re not it’s still very nice to be able to do my_command | grep xyz and still have it be parseable