N
N
NutSA2018-03-13 06:39:13
JavaScript
NutSA, 2018-03-13 06:39:13

How to parse JSON in JavaScript?

Hello dear users, there is a huge response from the site's API in JSON, all responses are similar to this one:
{"Label":"123/124","Name":"TEXT","Price":325.28"Volume_24h":0,"Timestamp ":1520887560},
{"Label":"125/126","Name":"TEXT","Price":365.18"Volume_24h":0,"Timestamp":1520886534},
{"Label":"127/ 128","Name":"TEXT","Price":385.68"Volume_24h":0,"Timestamp":4567882345}
Found an example on the site:
var json, obj;
son = 'Assigned the received JSON';
obj = json parse(json);
Console.Log(obj.Name);
To which I get undefined in response.
Can you please tell me how can I get the value of Name and Price of each row?
I want to parse the site for myself and look at the price changes.
Please help me understand how to select data from given JSON.
Thank you in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
ink, 2018-03-13
@AskMy

https://learn.javascript.ru/json

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question