Skip to content

Added lists support #4

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Added lists support #4

wants to merge 4 commits into from

Conversation

dezconnect
Copy link

Add support of lists such as:

[section]
keyword[]=value1
keyword[]=value2
keyword[]=value3
keyword[]=value4

@jonase
Copy link
Owner

jonase commented Aug 21, 2016

Could you update the example in the README as well?

@dezconnect
Copy link
Author

Sure

@dezconnect
Copy link
Author

Completed

@jonase
Copy link
Owner

jonase commented Aug 24, 2016

@dezconnect

I ran a few tests and it seems like a file with a "top level" array doesn't work properly:

users[]=nike
users[]=joe

evaluates to

{"users[]" "joe"}

I also think that we should create a vector instead of a list, and not "reversed" as it is now.

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.

2 participants