I have the JSON with the attribute has the "@" for example:
Object attribute:
@timestamp: "2021-03-02T21:00:00.578Z"
If I write a code with the '@' then it breaks the code
Please see my code:
const dataArray = data.map(function (val) {
Obj.categories.push(val.@timestamp); // this line is breaking as i have the '@'
});
Can you please help me to get the value from this '@timestamp'
Thank you