“not well-formed” error in Firefox when loading JSON file with XMLHttpRequest

Have you tried using the MIME type for JSON?

application/json

You could also configure your server to send this MIME type automatically for .json files.

Leave a Comment