홈
Tom Utilities

XML을 JSON으로

XML 및 YAML 도구

속성과 반복 요소를 적절히 처리하여 XML을 JSON으로 변환합니다.

입력

결과

사용 방법

Converting XML to JSON

Press Convert to obtain a JSON representation. Attributes use the at sign prefix.

  1. Paste XML into the input editor.
  2. Press Convert.
  3. Copy the JSON output.

자주 묻는 질문

How are attributes represented?

Each attribute becomes a property named with an at sign, for example at id.

How are repeated elements handled?

When the same tag appears more than once at one level the values are collected into an array.