[Solved] What would be the $.ajax equivalent to this $.getJSON


Its clear in Official Docs jQuery.getJSON()

$.ajax({
  dataType: "json",
  url: "http://confidential.com/pcm/datamobile.asmx/ObtenerContactos",
  data: {sessionId: 1},
  success: function(data) {
        alert("Success!!! yay");
        peopleList = data;
        jsonIsLoaded();//output your data to console
    }
});

1

solved What would be the $.ajax equivalent to this $.getJSON