clojure-ini icon indicating copy to clipboard operation
clojure-ini copied to clipboard

Added lists support

Open dezconnect opened this issue 8 years ago • 4 comments

Add support of lists such as:

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

dezconnect avatar Aug 21 '16 01:08 dezconnect

Could you update the example in the README as well?

jonase avatar Aug 21 '16 08:08 jonase

Sure

dezconnect avatar Aug 22 '16 05:08 dezconnect

Completed

dezconnect avatar Aug 22 '16 10:08 dezconnect

@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.

jonase avatar Aug 24 '16 18:08 jonase