Load JSON data with jQuery
JSON data can be retrieved using AJAX from a server either using jQuery’s .ajax() function or the shorthand $.getJSON() function. If you have retrieved a JSON string without having jQuery decode it automatically using one of these functions, the string can also be parsed into a regular data array using the $.parseJSON() function.