I wonder why nobody uses jsonl format to represent an entire codebase? It’s what I do and LLMs seems to prefer it. In fact, an LLM suggested this strategy to me. Uses less characters, too.
I think it makes sense.
YAML is shorter and easier to read, Markdown codeblocks have no added syntax between the lines compared to normal code.
But JSON vs JSONL I can't come up with any big advantages for the LLM, it's mostly the same.
Previous example but in JSON:
https://uithub.com/upstash/docs/tree/main/qstash?accept=appl...
Is there any reason to prefer JSONL besides it being more efficient to edit? I'm happy to add it to my backlog if you think it has any advantages for LLMs