XML to JSON is there a library script?

Hi @cgreene,

Going off your other post, you can use xml2js. Something as simple as below should work:

 const xml2js = require('xml2js');   
 xml2js.parseString(pm.response.text(), function (err, result) {
        console.log(result);
    });

That should spit out json for you.

Best,
Orest