Unpaired tags are parsed into an empty string. But in some cases, it should be something else. Like an object for example.
In the same style of [`isArray`](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/docs/v4/2.XMLparseOptions.md#isarray), we could introduce an `isObject` option, working the same way.
### Input
We're glad you find this project helpful. We'll try to address this issue ASAP. You can vist https://solothought.com to know recent features. Don't forget to star this repo.
Description
Unpaired tags are parsed into an empty string. But in some cases, it should be something else. Like an object for example. In the same style of [`isArray`](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/docs/v4/2.XMLparseOptions.md#isarray), we could introduce an `isObject` option, working the same way. ### InputLet's take for example the following XML:
Code
https://naturalintelligence.github.io/fast-xml-parser/
Output
It gives the following output:
expected data
I would instead expect the following result:
Would you like to work on this issue?
Bookmark this repository for further updates. Visit SoloThought to know about recent features.