Voltar para ferramentas
/
JSON ↔ XML
Ctrl
K
PT
JSON ↔ XML
Conversão bidirecional entre JSON e XML
Exemplo
Copiar
Limpar
JSON → XML
XML → JSON
Nome da Tag Raiz:
JSON Entrada
{ "user": { "id": 1, "name": "John Doe", "email": "john@example.com", "roles": { "role": [ "developer", "admin" ] } } }
XML Saída
<root> <user> <id>1</id> <name>John Doe</name> <email>john@example.com</email> <roles> <role>developer</role> <role>admin</role> </roles> </user> </root>