-1
I have a json called product.json
that is at the root of my project, I want to consume it and put it in a showcase at home, but I tried several ways and could not, follows example:
$(document).ready(function(){
$.get( "product.json", function(data) {
console.log(data);
});
});