Tag Archives: JSON

Converting PHP to JSONP with json_encode

PHP has a nice function called json_encode that will transform a PHP array into a JSON object. This is very useful for converting data and publishing it for use with AJAX requests. When you want your data to be accessible … Continue reading

Posted in Code, General | Tagged , , , | 1 Comment

JSON, jQuery, and Google APIs

Due to my development process I have found myself using JSON more often than before. It is the best way to transmit data between domains using Javascript. I have been using JSON calls in jQuery to fetch information from the … Continue reading

Posted in General | Tagged , , , , | Leave a comment