I'm using this parser command `parser.toJson(XMLContent, { reversible: true }` and it is not yet totally clear to me why from this xml: ``` const xmlData = `<rss><title>example</title></rss>` ``` I reach this json: ``` const jsonData = { rss: { title: {"$t":"example"}}} ``` and not this json: ``` const jsonData = { rss: { title: "example"}} ``` Can someone explain me why, because documentation is lacking here, or at least, I was not able to understand the reason checking source code here ``` - reversible: If true, the parser generates a reversible JSON, mainly characterized by the presence of the property $t. ``` at line https://github.com/buglabs/node-xml2json/blob/98272646816c5f5747970ee6906e206c1fdd6082/lib/xml2json.js#L128 thanks
I'm using this parser command
parser.toJson(XMLContent, { reversible: true }and it is not yet totally clear to me why from this xml:I reach this json:
and not this json:
Can someone explain me why, because documentation is lacking here, or at least, I was not able to understand the reason checking source code here
at line
node-xml2json/lib/xml2json.js
Line 128 in 9827264
thanks