the data for example is
var data = { "@timestamp": "2018-05-11 01:34" }
I've tried console.log(data.['@timestamp'])
but this gives an unexpected token error
the data for example is
var data = { "@timestamp": "2018-05-11 01:34" }
I've tried console.log(data.['@timestamp'])
but this gives an unexpected token error
This works for me:
var data = { "@timestamp": "2018-05-11 01:34" }
console.log(data['@timestamp'])
You have typo with extra .?