I run a small developer tools site, and the whole thing started with one annoyance: sending JSON arrays to GPT or Claude wastes a ridiculous amount of tokens on repeated keys. Look at a typical API response: [ { "id": 1, "name": "Alice", "role": "admin", "active": true }, { "id": 2, "name": "Bob...
Source: [Dev.to](https://dev.to/wajeehaco/toon-the-json-trick-that-cut-my-llm-prompt-tokens-by-half-5b0p)