Seung Hwan 0 Newbie Poster

I made a json file and its contents are like these.

[{"pdis": "pdistance", "time": "time", "lon": "longitude", "tdis": "totaldistance", "secsp": "sectionspray", "lat": "latitude"}, {"pdis": "0.000555", "time": "10:01:43", "lon": "126.952741667", "tdis": "0.000555", "secsp": "3343.0", "lat": "37.4805016667"}, {"pdis": "0.027396", "time": "10:01:57", "lon": "126.952753333", "tdis": "0.027951", "secsp": "3320.0", "lat": "37.4807483333"},~~~,{"~~~~~"}]

I want to read and save them in javascript array as

pdis       time        lon            tds        secsp     lat
0.000555   10:01:43    126.95274      0.000555   3343.0    37.4805
0.027396   10:01:57    126.95275      0.02795    3320.0    37.4807

How can I do that? please advice me or recommend some sites or pages..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.