VS Code extension for TOON (Token-Oriented Object Notation) - a compact data format that reduces token usage by 30-60% compared to JSON.
- Syntax Highlighting - Full TOON syntax support with color coding
- IntelliSense - Smart autocomplete for arrays, objects, and delimiters
- Validation - Real-time error checking with detailed diagnostics
- Formatting - Auto-format with configurable indentation and delimiters
- Snippets - Quick templates for common TOON patterns
- Conversion - Bidirectional JSON ↔ TOON conversion
code --install-extension vishalraut.vscode-toon- Create a file with
.toonextension - Start typing - IntelliSense will guide you
- Use snippets: type
toon-and press Tab - Format with
Shift+Alt+F
# Inline array
tags[3]: javascript,typescript,react
# Tabular array (CSV-style)
users[2]{id,name,email}:
1,Alice,[email protected]
2,Bob,[email protected]
# List array (YAML-style)
items[2]:
- name: Laptop
price: 999
- name: Mouse
price: 29
config:
database:
host: localhost
port: 5432
cache:
enabled: true
ttl: 3600
TOON: Validate- Check syntaxTOON: Convert to JSON- Export as JSONTOON: Convert from JSON- Import from JSON
{
"toon.validation.enabled": true,
"toon.format.indent": 2,
"toon.format.delimiter": ","
}TOON is designed for developers working with Large Language Models:
- 30-60% fewer tokens than JSON
- Explicit structure with array lengths and field headers
- Human readable with familiar syntax
- LLM optimized for better parsing and generation
MIT © 2025 Vishal Raut