XML을 JSON으로
속성과 반복 요소를 적절히 처리하여 XML을 JSON으로 변환합니다.
입력
결과
사용 방법
Converting XML to JSON
Press Convert to obtain a JSON representation. Attributes use the at sign prefix.
- Paste XML into the input editor.
- Press Convert.
- 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.
관련 도구
JSON을 XML로
루트 요소를 설정할 수 있는 올바른 형식의 XML로 JSON 문서를 변환합니다.
XML 포매터
일관된 들여쓰기와 선택적 속성 줄바꿈으로 XML을 정리합니다.
YAML을 JSON으로
API와 JavaScript 애플리케이션을 위해 YAML 문서를 JSON으로 변환합니다.
YAML 포매터
일관된 들여쓰기와 검증으로 YAML을 파싱하고 다시 직렬화합니다.
YAML 검증기
YAML 구문을 검증하고 들여쓰기나 구조가 잘못된 경우 정확한 오류를 표시합니다.
XML 검증기
XML 문서가 올바른 형식인지 확인하고 명확한 오류 설명을 보여줍니다.