🍋
Menu
Developer

TOML

Tom's Obvious Minimal Language

A configuration file format designed to be easy to read and map to a dictionary data structure.

Техническая деталь

TOML uses indentation (spaces only, no tabs) for structure, making it visually clean but whitespace-sensitive. It supports anchors (&) and aliases (*) for node reuse, multi-line strings with | (literal) and > (folded) indicators, and complex key types. YAML 1.2 is a strict superset of JSON — any valid JSON is valid YAML. Security note: YAML parsers can execute arbitrary code via the !!python/object tag; use safe_load() in production.

Пример

```javascript
// TOML example
const input = 'sample data';
const result = process(input);
console.log(result);
```

Связанные форматы

Связанные инструменты

Связанные термины