let info = {
"@type": "Movie",
"url": "/title/tt0443272/",
"name": "Lincoln",
"image": "https://m.media-amazon.com/images/M/MV5BMTQzNzczMDUyNV5BMl5BanBnXkFtZTcwNjM2ODEzOA@@._V1_.jpg",
"description": "As the American Civil War continues to rage, America's president struggles with continuing carnage on the battlefield as he fights with many inside his own cabinet on the decision to emancipate the slaves.",
"duration": "PT2H30M"
}
console.log(info["@type"])
I have extracted a large JSON data but I am unsure how to access values where keys start with "@".
How can I retrieve the value of "@type"?
When I attempt this method, I encounter an error:
SyntaxError: Invalid or unexpected token