Zmiana getJSON na JSONP

Mam ten kod:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script>
    $(document).ready(function() {
        $.getJSON('http://example.com/api/get_cats', function(fbResults) {
            document.write(fbResults.cats[0].title);
        });
    });
</script>

Jak mogę zmienić ten kod:

<script>
    $(document).ready(function() {
        $.getJSON('http://example.com/api/get_cats', function(fbResults) {
            document.write(fbResults.cats[0].title);
        });
    });
</script>

aby działało jako JSONP ... Czy to jest zupełnie inne?

questionAnswers(1)

yourAnswerToTheQuestion