Invalid JSON for COVID-19 Case Locations Dataset

The COVID-19 Case Locations Dataset is currently returning JavaScript rather than JSON.
This breaks applications expecting JSON.

As a quick example, you can’t open the following file in Firefox’s built-in JSON viewer, as the first line is a JavaScript assignment, which is not valid JSON:

I also notice that the official link on the Case Locations page has changed to point to a JavaScript file, not a JSON file:

This appears to be fixed now.

© Data.NSW