Beautify JavaScript + JSONP = HappyFamily

If you are using JSONP to do cross domain grabbing of data to show on a page often you will want to see the raw response in your browser. The issue with this is it can get confusing because the browser just dumps the JSONP response to the window.

Enter jsbeautifer

All this website does is format your JavaScript to be more readable. I commonly use this site with JSONP responses and for all the times i have used this page I am glad it’s free.

Have a try, grab some JavaScript, JSON, etc.. and paste it into the window and click beautify. 

Enjoy

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s