In my previous role, I frequently worked with JSON and XML data formats. One project involved integrating data from various sources, where I had to transform JSON data into XML for compatibility with a legacy system. I used Python to parse the JSON data, extracting key-value pairs and converting them into XML elements and attributes. This process involved mapping JSON keys to XML tags and handling nested structures by iterating through the JSON hierarchy. I also ensured that data types were correctly converted and validated to maintain data integrity. This transformation allowed seamless data exchange between systems, improving data accessibility and usability for the team.