XML to JSON Conversion for Web App

Job ID: 38539730

Budget: $10 – $30 USD

I'm looking for a skilled developer who can convert an XML API object into a JSON object. The primary purpose of this conversion is for application integration, specifically with a web application built in JavaScript.

Key Requirements:
- Proficient in JavaScript: Since the web application is built using this language, understanding its nuances and capabilities is crucial.
- Experience with XML and JSON: Familiarity with these data formats and the conversion process between them is essential.
- Application Integration Skills: Prior experience integrating applications is a plus.

The ideal freelancer will have a solid understanding of both the JavaScript programming language and the XML and JSON data formats. They will be able to seamlessly convert the XML API object into a JSON object for smooth integration with the web application.

I don't need every node converted - see the attachment. The conversion will be for the author names and publication information

The url is "https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&id=30830833,34235048,37821977,31816848,35635259,38365506,38865081,37414335,32897737&retmode=xml"

A lot of the conversion will be
const pmid = article.querySelector("PMID").textContent;
const title = article.querySelector("ArticleTitle").textContent;

I need the output to be a multi nested array to be used in a JavaScript function in a Quasar application.

I have code that works but it is messy and I want FAST CLEAN CODE.

const parser = new DOMParser();
const xmlDoc = parser.parseFromString(data, "text/xml");
Related categories: JavaScript XML JSON Vue.js Framework