Skip to content

Added lists support#4

Open
dezconnect wants to merge 4 commits intojonase:masterfrom
dezconnect:master
Open

Added lists support#4
dezconnect wants to merge 4 commits intojonase:masterfrom
dezconnect:master

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