script for XML to JSON Parser

The following code can be used to convert XML to JSON. define([“require”, “exports”, “N/xml”], function (require, exports, xmlModule) {    “use strict”;     Object.defineProperty(exports, “__esModule”, { value: true });     exports.xml2json = exports.nsXMLToJSON = exports.xmlToJson = void 0;     //https://stackoverflow.com/a/57735605     const xmlToJson = (xmlString) => {        … Continue reading script for XML to JSON Parser