I have a json file with this object:
{
"fontFamily": "Roboto",
"color": "red",
"backgroundColor": "green",
"textForExample": "Hello world i'm a text that's used to display an exemple for my creator."
}
and when i'm parsing it I have an error in my console that says "infosFile.json:2 Uncaught SyntaxError: Unexpected token ':'" and then when I'm trying to use it in my Javascript, I got this message in console: "infosFile is not defined", I don't understand where is the problem