Re: Reading CSV as Map not List

2012-10-02 Thread Claus Ibsen
On Tue, Oct 2, 2012 at 8:20 PM, Tim Dudgeon wrote: > On 02/10/2012 19:07, Christian Müller wrote: >> >> That would be a incompatible change. And what if the user don't want to >> specify the keys? > > I was more asking if there was an option to allow this, not asking for a > change in behaviour. >

Re: Reading CSV as Map not List

2012-10-02 Thread Tim Dudgeon
On 02/10/2012 19:07, Christian Müller wrote: That would be a incompatible change. And what if the user don't want to specify the keys? I was more asking if there was an option to allow this, not asking for a change in behaviour. Would be useful e.g. if the data was to be inserted into a database

Re: Reading CSV as Map not List

2012-10-02 Thread Christian Müller
That would be a incompatible change. And what if the user don't want to specify the keys? Do you have an issue with the current implementation? Best, Christian Sent from a mobile device Am 02.10.2012 17:05 schrieb "Tim Dudgeon" : > Is it possible to use the CSV component to read a CSV file and

Re: Reading CSV as Map not List

2012-10-02 Thread Claus Ibsen
On Tue, Oct 2, 2012 at 5:04 PM, Tim Dudgeon wrote: > Is it possible to use the CSV component to read a CSV file and return a > List>? > The keys being the values in the first line of the file. > I can only see a way to get it to generate a List>. > No. > Thanks > Tim -- Claus Ibsen

Reading CSV as Map not List

2012-10-02 Thread Tim Dudgeon
Is it possible to use the CSV component to read a CSV file and return a List>? The keys being the values in the first line of the file. I can only see a way to get it to generate a List>. Thanks Tim