A basic example of how to use an external JSON file in JavaScript, by calling it with AJAX.
This is a very raw and basic example of using JSON - I know there are elements of the code which can be improved but this was just written so I can gain an understanding of how JSON works.