What is the difference between JSON and JSONP?

Posted by Svish on Stack Overflow See other posts from Stack Overflow or by Svish
Published on 2010-06-13T16:20:51Z Indexed on 2010/06/13 16:22 UTC
Read the original article Hit count: 190

Filed under:
|
|
|

For example in the jQuery documentation I find both JSON and JSONP mentioned. What is the difference exactly? How can I see which is which? Which one should be used for what?

And what does the PHP function json_encode generate?

© Stack Overflow or respective owner

Related posts about php

Related posts about jQuery