TOON vs JSON: The Most Token-Efficient Format for AI Agents

When you build AI agents, every token matters. Lower token usage means lower API costs, faster responses, and better performance. Although JSON has been the long-time standard for structured data, it’s not designed for LLMs. This is where TOON (Token-Oriented… Read moreTOON vs JSON: The Most Token-Efficient Format for AI Agents

Parsing JSON and YAML Files with jq and yq in Shell Scripts

jq only reads JSON. Run it on a YAML file and it fails: jq ‘.name’ data.yaml prints jq: parse error: Invalid numeric literal at line 1, column 5 (tested with jq 1.8.2). To query YAML in a shell script, use… Read moreParsing JSON and YAML Files with jq and yq in Shell Scripts