ตัวจัดรูปแบบและโค้ด
ตัวแปลง TOML ⇄ JSON
Convert between TOML and JSON — both directions.
หมายเหตุจากบรรณาธิการ
Understanding · The config language that wanted to be obvious.
บทเชิงลึกนี้มีให้บริการเฉพาะภาษาอังกฤษในขณะนี้ เครื่องมือแปลงด้านบนทำงานในภาษาของคุณ บทความอธิบายแบบยาวยังไม่ได้แปล
คำถามที่พบบ่อย
Quick answers.
›Does TOML support all JSON data types?
Yes. TOML supports strings, integers, floats, booleans, and arrays, which map directly to JSON types. Note that TOML also has a native Datetime type that JSON does not, which usually converts to an ISO 8601 string.
›Is my configuration data secure?
Yes. The conversion logic runs entirely within your browser's memory using JavaScript. No data is sent to a server or stored externally.
›Why use TOML instead of JSON for config files?
TOML is designed to be easier for humans to read and write. It allows comments, supports multi-line strings, and relies on a less syntax-heavy structure than JSON's braces and quotes.
›Does the converter handle nested tables?
Yes. Nested TOML tables and arrays of tables are correctly converted into nested JSON objects and arrays.
ผู้คนยังค้นหา
เครื่องมือที่เกี่ยวข้อง
More in this room.
- เครื่องมือแปลง JSON เป็น XMLแปลง JSON เป็น XML ที่สะอาดและจัดรูปแบบถูกต้อง
- CSV เป็น JSON Converterเปลี่ยนสเปรดชีตเป็นอาร์เรย์ JSON — ทันที
- ตัวแปลง YAML เป็น JSONแปลง YAML เป็น JSON — ทันที, เฉพาะในเบราว์เซอร์
- ตัวแปลง JSON เป็น Excelเปลี่ยนอาร์เรย์ JSON ให้เป็นสเปรดชีต Excel
- ตัวแปลง INI ⇄ JSONแปลงไฟล์คอนฟิกูเรชัน INI เป็น JSON และกลับกัน
- ตัวแปลง Schema SQL → NoSQLเปลี่ยน CREATE TABLE ให้เป็นรูปแบบเอกสาร JSON