There is a json file containing the following object:
{
"fontFamily": "Roboto",
"color": "red",
"backgroundColor": "green",
"textForExample": "Hello world i'm a text that's used to display an exemple for my creator."
}
However, when attempting to parse it, an error occurs in the console stating: "infosFile.json:2 Uncaught SyntaxError: Unexpected token ':'", and further attempts to use it in JavaScript result in the message: "infosFile is not defined". The source of the problem is unclear.