-
Notifications
You must be signed in to change notification settings - Fork 219
Open
Description
I need to parse an RSS to JSON which has multiple enclosure tags within an item
<item>
<title>...</title>
<enclosure url="..." type="..." />
<enclosure url="..." type="..." />
<enclosure url="..." type="..." />
</item>
My resulted JSON Object only has a single enclosure object instead of an array.
I tried using keepArray option already but it still happens.
It seems it gets overwritten in parser.js
Line 214 in 2ea1d8f
| item.enclosure = xmlItem.enclosure[0].$; |
It's hard coded taking only the first enclosure item
holem and stweiz
Metadata
Metadata
Assignees
Labels
No labels