Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addition of arrayFields #632

Closed
wants to merge 5 commits into from
Closed

addition of arrayFields #632

wants to merge 5 commits into from

Conversation

SaravanaS1358
Copy link

Added arrayFields to enable array even if there is one value.
This is to maintain the consistency of JSON structure

Added arrayFields to enable array even if there is one value.
This is to maintain the consistency of JSON structure
@krkestner
Copy link

I dont see any documentation on the front page for arrayFields. Can you provide an example?
I'm hoping this will help with the issue of making only certain items an array vs "all or nothing".
Thanks.

@liudonghua123
Copy link

I would like this pr merged, I really need arrayFields or some similar options.

see also #210, #489

@liudonghua123
Copy link

I found another lib which supports this feature. See https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/docs/v4/2.XMLparseOptions.md#isarray.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants