$.getJSON("URL", function(json) { alert("JSON Data: " + json.name); });
I think this will work for you.
If you want to pass parameters, here is the code
$.getJSON("URL", { name: "John", time: "2pm" }, function(json) { alert("JSON Data: " + json.name); });
Refer link
source share