From http://api.jquery.com/jQuery.getJSON/ , this is the correct format for getJSON:
jQuery.getJSON( url [, data] [, success(data, textStatus, jqXHR)] )
url: a string containing the URL to which the request is sent.
: Card or line that is sent to the server with the request.
success (data, textStatus, jqXHR): a callback function that is executed if the request completes successfully.
source share