Modifying JSONP results before success callback
问题 I'd like to load some JSON data from an external service. However, it provides { foo: ..., bar: ..., useful: {...} } and what I really care about is in the "useful" part. I need to pass just that part to the success callback. I'm trying to use Deferred to load from multiple data sources at once -- something like this. I'd like to retrieve the data, "massage" the result, and have just the "useful" part in the example above actually passed to the then callback. My understanding is that when you