country.json
[ { "name": "WORLD", "population": 6916183000
You can also put this json in a file on your server and load it using script tag.
json
script
And load this file before the script in which you are using it.
my.js
var myJson = [{.....}]; // My long json