I've object , I am extracting it key and access it value through extract key . when I give it try it give me error of undefined . I really tried hard but didn't find any solution could someone please help me how to resolve this issue . Thanks
let data = "{\"id\":14133,\"taskType\":\"viewing\",\"propertyId\":479,\"userId\":640,\"subject\":\"Viewing with Arsalan Ahmed at Bahria Town Phase 2\",\"date\":\"2021-02-18T18:44:00.000Z\"}";
Object.keys(JSON.parse(data)).map(item=>console.log(JSON.parse(data).item,item))