Formatowanie i Kodowanie
Konwerter TOML ⇄ JSON
Convert between TOML and JSON — both directions.
Notka redakcyjna
Understanding · The config language that wanted to be obvious.
Ten szczegółowy rozdział jest obecnie dostępny tylko w języku angielskim. Narzędzie konwersji powyżej działa w Twoim języku; długi artykuł objaśniający nie został jeszcze przetłumaczony.
Często zadawane pytania
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.
Ludzie wyszukują również
Powiązane narzędzia
More in this room.
- Konwerter JSON na XMLKonwertuj JSON na czysty, dobrze sformatowany XML.
- Konwerter CSV na JSONNatychmiast przekształć arkusze kalkulacyjne w tablice JSON.
- Konwerter YAML na JSONKonwertuj YAML na JSON – natychmiast, tylko w przeglądarce.
- Konwerter JSON na ExcelZmień tablice JSON w arkusze kalkulacyjne Excel.
- Konwerter INI ⇄ JSONKonwertuj pliki konfiguracyjne INI na JSON i z powrotem.
- Konwerter Schematów SQL → NoSQLZmień CREATE TABLE w strukturę dokumentu JSON.