JSON data source and JSONP

Hello,

 

I have a JSONP feed that I am trying to pull in using a SQUIZ JSON data source.

 

When I set the JSON data source to look at the JSONP feed I get an error within SQUIZ:

  MySource Warning

			Syntax error: Find a PC (Id: #10083)
	<p>&#160;<p>Does anyone have a solution for bringing in a JSONP feed?<p>&#160;<p>Thanks<p>&#160;<p>David

Can you show an example of your .jsonp file?

Hi,

 

I have attached the JSONP file.

 

Thanks findapc.txt (3.05 KB)

Hi,

 

I have attached the JSONP file.

 

Thanks

 

Yeah, I don't think the JSON Datasource knows what to do when there is a function wrapping the JSON, therefore it just throws an error. Do you have to be using JSONP instead of JSON?

Ah, Cool thanks for that.  Think we will try changing to JSON instead of JSONP.