问题
I've modified my WebAPI to return JSONP, but how can I tell if it's really JSONP and not regular JSON? I understand that the "P" stands for Padding. Is there a physical, readable difference between JSON and JSONP?
回答1:
jsonp will be in the form of this: (returned by the server of course)
"callbackFunction( { jsonSyntax } );"
jsonp is just JSON but with a callback javascript function wrapping it.
来源:https://stackoverflow.com/questions/20802763/is-there-any-physical-readable-difference-between-a-json-string-and-a-jsonp-str