Skip to main content
DevTools24

INI/JSON-Konverter

Zwischen INI- und JSON-Konfigurationsformaten konvertieren. Alt-Konfigurationsdateien in modernes JSON transformieren.

INI Format Notes:
  • • Sections are denoted with [section]
  • • Key-value pairs use key = value
  • • Comments start with ; or #
  • • Values with spaces should be quoted

INI vs JSON - Technische Details

INI-Dateien verwenden [Abschnitt]-Überschriften und Schlüssel=Wert-Paare. JSON verwendet verschachtelte Objekte. Die Konvertierung zwischen beiden hilft bei der Migration von Legacy-Konfigurationen zu modernen Formaten.

Kommandozeilen-Alternative

// INI format
[database]
host = localhost
port = 5432

// JSON equivalent
{ "database": { "host": "localhost", "port": "5432" } }