Skip to main content
DevTools24

INI/JSON 변환기

INI와 JSON 구성 형식 간에 변환합니다. 레거시 구성 파일을 최신 JSON으로 변환합니다.

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 대 JSON - 기술 세부 정보

INI 파일은 [섹션] 헤더와 키=값 쌍을 사용합니다. JSON은 중첩된 객체를 사용합니다. 이들 간의 변환은 레거시 구성을 최신 형식으로 마이그레이션하는 데 도움이 됩니다.

명령줄 대안

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

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