I've been trolling for hours with little success. I have the following string snippet:
{
"S:Envelope": ,
"S:Body": [{
"ns2:createTokenResponse": [{
"$": {
"xmlns:ns2": "http://IdentitySearch.nimc/"
},
"return": [{
"loginObject": [{
"timestamp": ["201912220556"],
"token": "rO0ABXNyABB1ZGYuTG9naW5NZXNzYWdlyuR/FrgVt2ECABVaAA1hdXRoZW50aWNhdGV
...
How do I access the values for timestamp or token, given the above string in Node?
Grateful for your wisdom.