Formattatori e Codice
Convertitore TOML ⇄ JSON
Convert between TOML and JSON — both directions.
Nota dell'editore
Understanding · The config language that wanted to be obvious.
Questo capitolo approfondito è attualmente disponibile solo in inglese. Lo strumento di conversione qui sopra funziona nella tua lingua; il lungo articolo esplicativo non è stato ancora tradotto.
Domande frequenti
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.
Le persone cercano anche
Strumenti correlati
More in this room.
- Convertitore da JSON a XMLConverte JSON in XML pulito e ben formato.
- Convertitore da CSV a JSONTrasforma istantaneamente i fogli di calcolo in array JSON.
- Convertitore da YAML a JSONConverti YAML in JSON — istantaneo, solo browser.
- Convertitore da JSON a ExcelTrasforma array JSON in fogli di calcolo Excel.
- Convertitore INI ⇄ JSONConverti file di configurazione INI in JSON e viceversa.
- Convertitore Schema SQL → NoSQLTrasforma un CREATE TABLE in una struttura di documento JSON.