const string = '{"id":1,"name":"Leanne Graham"}'; JSON.parse(string);
{ id: 1, name: "Leanne Graham" }