I am doing this with a jQuery plugin at http://papaparse.com and it's
working great. Once you get the string of CSV, you do this:

var result = $.parse(csvString);

Then check result.errors.length. If it's not zero then something must have
been wrong with the CSV and it couldn't be parsed. Otherwise you will have
an array of objects created from the CSV in result.results.rows.


On Sat, Aug 23, 2014 at 12:53 AM, <[email protected]> wrote:

> How to import csv and convert it into Json and keys changes according to
> requirement
>
> --
> You received this message because you are subscribed to the Google Groups
> "AngularJS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
R. Mark Volkmann
Object Computing, Inc.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to