Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Syntax errors in line one(1) of JSON files using Firefox
Any ideas? It's not critical but it would be nice to know why I'm getting the syntax errors.
Tom Sager18,987 Points
I get the exact same behavior. Firefox reports a syntax error; Chrome, Opera and Vivaldi do not
I also tried a couple of online JSON parsers and none of them complained [http://json.parser.online.fr/, http://jsonlint.com/, https://www.jsoneditoronline.org/].
It looks like a Firefox quirk to me.