fast-xml-parser
fast-xml-parser copied to clipboard
fix: get oneListGroup to work as expected for array of strings
If I have oneListGroup
enabled I would expect that:
{
"a": ["(first)", "second"]
}
Would give me:
<a>(first)(second)</a>
But I get:
<a>
<a>(first)</a>
<a>(second)</a>
</a>
This commit fixes that issue.
Type
Please mention the type of PR
- [X] Bug Fix
- [ ] Refactoring / Technology upgrade
- [ ] New Feature
Note : Please ensure that you've read contribution guidelines before raising this PR. If your PR is in progress, please prepend [WIP]
in PR title. Your PR will be reviewed when [WIP]
will be removed from the PR title.
Bookmark this repository for further updates.