local json file get using xmlhttprequest cors error
//ATTENTION: API URL of file is in a local folder.
//It will fire CORS error as the URL is not http.
//Run it using a server. Then the error will be resolved.
//eg. use live server vs extension to run server.