Skip to main content
DevTools24

منسق TOML

تنسيق والتحقق من ملفات TOML. تحويل TOML إلى JSON للاستخدام مع أدوات JavaScript.

About TOML

  • • TOML (Tom's Obvious Minimal Language) is a config file format
  • • Used by Cargo (Rust), pip (pyproject.toml), and many other tools
  • • Supports strings, integers, floats, booleans, dates, arrays, and tables
  • • More readable than JSON for configuration files

TOML Format - التفاصيل التقنية

TOML (Tom's Obvious Minimal Language) is a configuration file format designed to be easy to read. It's used by Cargo (Rust), pyproject.toml (Python), and many other tools.

بديل سطر الأوامر

# Validate TOML with Python
python3 -c "import tomllib; print(tomllib.load(open('config.toml', 'rb')))"

# Or with taplo CLI
taplo format config.toml

المرجع

عرض المواصفات الرسمية