将 XML 格式数据转换为 JSON。
{"user":{"id":1024,"name":"张三","email":"zhangsan@example.com","roles":["admin","editor"],"profile":{"age":28,"city":"北京"}},"active":true,"score":98.5}