<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/php/tags/json</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 15 Feb 2012 06:25:00 GMT</pubDate>
<item>
<title>(PHP) is_json - mladoux</title>
<link>http://snipplr.com/view/62235/isjson/</link>
<description><![CDATA[ <p>function to test whether or not a string is JSON encoded</p> ]]></description>
<pubDate>Tue, 03 Jan 2012 13:19:43 GMT</pubDate>
<guid>http://snipplr.com/view/62235/isjson/</guid>
</item>
<item>
<title>(PHP) JSON with a PHP proxy - inreflection7</title>
<link>http://snipplr.com/view/61836/json-with-a-php-proxy/</link>
<description><![CDATA[ <p>Use PHP to get JSON

1) set the PHP to the URL of the JSON
2) echo a variable with the loaded data
3) use a request via jQuery to get the variable from PHP</p> ]]></description>
<pubDate>Tue, 13 Dec 2011 08:28:13 GMT</pubDate>
<guid>http://snipplr.com/view/61836/json-with-a-php-proxy/</guid>
</item>
<item>
<title>(PHP) JS data from json - CrossDomian - nicolaspar</title>
<link>http://snipplr.com/view/60895/js-data-from-json--crossdomian/</link>
<description><![CDATA[ <p>If not have access to edit json, setting url possible is:
url: 'http://graph.facebook.com/4/?callback=getDatosUsuario'</p> ]]></description>
<pubDate>Thu, 17 Nov 2011 01:32:04 GMT</pubDate>
<guid>http://snipplr.com/view/60895/js-data-from-json--crossdomian/</guid>
</item>
<item>
<title>(PHP) pretty_json - camdagr8</title>
<link>http://snipplr.com/view/60559/prettyjson/</link>
<description><![CDATA[ <p>Here's a function to pretty up json encoded data.</p> ]]></description>
<pubDate>Sat, 05 Nov 2011 06:38:19 GMT</pubDate>
<guid>http://snipplr.com/view/60559/prettyjson/</guid>
</item>
<item>
<title>(PHP) PHP + JSON + Twitter API - richardmaisano</title>
<link>http://snipplr.com/view/54710/php--json--twitter-api/</link>
<description><![CDATA[ <p>Nothing revolutionary, just a simple implementation.

A reworking from Brian Cray's source code:
http://briancray.com/2009/08/21/tweeted-links-twitter-api-php-cache/

Note: requires creating a cache file, '/caches/twitter', relative to source.</p> ]]></description>
<pubDate>Wed, 01 Jun 2011 14:59:48 GMT</pubDate>
<guid>http://snipplr.com/view/54710/php--json--twitter-api/</guid>
</item>
<item>
<title>(PHP) Create a Basic Web Service Using PHP, MySQL, XML, and JSON - mb2o</title>
<link>http://snipplr.com/view/52131/create-a-basic-web-service-using-php-mysql-xml-and-json/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 15 Apr 2011 17:00:40 GMT</pubDate>
<guid>http://snipplr.com/view/52131/create-a-basic-web-service-using-php-mysql-xml-and-json/</guid>
</item>
<item>
<title>(PHP) XML to JSON (Simple) Parser - Pazuzu</title>
<link>http://snipplr.com/view/51637/xml-to-json-simple-parser/</link>
<description><![CDATA[ <p>The unicode decoding functions were adapted from the Decoder.php source from the Zend Framework.</p> ]]></description>
<pubDate>Wed, 06 Apr 2011 10:00:15 GMT</pubDate>
<guid>http://snipplr.com/view/51637/xml-to-json-simple-parser/</guid>
</item>
<item>
<title>(PHP) Object to Array - frederichoule</title>
<link>http://snipplr.com/view/51420/object-to-array/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 01 Apr 2011 13:30:51 GMT</pubDate>
<guid>http://snipplr.com/view/51420/object-to-array/</guid>
</item>
<item>
<title>(PHP) PHP JSON Headers - simondiercks</title>
<link>http://snipplr.com/view/48337/php-json-headers/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 03 Feb 2011 18:39:37 GMT</pubDate>
<guid>http://snipplr.com/view/48337/php-json-headers/</guid>
</item>
<item>
<title>(PHP) Example of a JSON encoded repsonse - dropthenerd</title>
<link>http://snipplr.com/view/48263/example-of-a-json-encoded-repsonse/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 02 Feb 2011 11:04:10 GMT</pubDate>
<guid>http://snipplr.com/view/48263/example-of-a-json-encoded-repsonse/</guid>
</item>
<item>
<title>(PHP) mysql2json - Pjotor</title>
<link>http://snipplr.com/view/48012/mysql2json/</link>
<description><![CDATA[ <p>Converts a MySQL result set to a JSON object, and ensures that the data is UTF-8 encoded.   
Usage:   
$conv = new mysql2json();   
$JSONresult = $conv->getJSON($result);   
   
Depends on an open link to the database.</p> ]]></description>
<pubDate>Fri, 28 Jan 2011 00:19:57 GMT</pubDate>
<guid>http://snipplr.com/view/48012/mysql2json/</guid>
</item>
<item>
<title>(PHP) Check if a string it's json encoded using regular expressions - jatubio</title>
<link>http://snipplr.com/view/47562/check-if-a-string-its-json-encoded-using-regular-expressions/</link>
<description><![CDATA[ <p>Check if a string it's json encoded using regular expressions

Thanks to Jens Anders Bakke for his mootools code published in webfreak.no

http://webfreak.no/wp/2007/09/07/jsontest-for-mootools/</p> ]]></description>
<pubDate>Thu, 20 Jan 2011 05:20:02 GMT</pubDate>
<guid>http://snipplr.com/view/47562/check-if-a-string-its-json-encoded-using-regular-expressions/</guid>
</item>
<item>
<title>(PHP) PHP Array into Javascript Array with JSON - whak</title>
<link>http://snipplr.com/view/45626/php-array-into-javascript-array-with-json/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 11 Dec 2010 17:52:21 GMT</pubDate>
<guid>http://snipplr.com/view/45626/php-array-into-javascript-array-with-json/</guid>
</item>
<item>
<title>(PHP) Processing json POST request with PHP - wnasich</title>
<link>http://snipplr.com/view/44820/processing-json-post-request-with-php/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 25 Nov 2010 03:42:28 GMT</pubDate>
<guid>http://snipplr.com/view/44820/processing-json-post-request-with-php/</guid>
</item>
<item>
<title>(PHP) Store array in cookie - liamchapman</title>
<link>http://snipplr.com/view/43435/store-array-in-cookie/</link>
<description><![CDATA[ <p>Simple function to store an array in a cookie. Uses JSON. 

To pull data out of cookie use 'json_decode()'. It can then be looped etc.</p> ]]></description>
<pubDate>Tue, 02 Nov 2010 21:04:47 GMT</pubDate>
<guid>http://snipplr.com/view/43435/store-array-in-cookie/</guid>
</item>
<item>
<title>(PHP) Flickr Photos Pull-In PHP JSON - mloberg</title>
<link>http://snipplr.com/view/42794/flickr-photos-pullin-php-json/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 23 Oct 2010 05:51:54 GMT</pubDate>
<guid>http://snipplr.com/view/42794/flickr-photos-pullin-php-json/</guid>
</item>
<item>
<title>(PHP) json_encode() - thefrosty</title>
<link>http://snipplr.com/view/42759/jsonencode/</link>
<description><![CDATA[ <p>I can\\\'t this function to fire WordPress shortcodes or get_meta_data:\\r\\n\\r\\nProblem 1. In the shortcode, if I remove \\\'.$item.\\\' and replace with it\\\'s regular value that the post_meta holds (hard code it) this works just fine. Also the same with the $numb variable.\\r\\n\\r\\nHave any ideas why these variable aren\\\'t working before they\\\'re encoded?</p> ]]></description>
<pubDate>Fri, 22 Oct 2010 16:04:50 GMT</pubDate>
<guid>http://snipplr.com/view/42759/jsonencode/</guid>
</item>
<item>
<title>(PHP) Twitter PHP Script - mloberg</title>
<link>http://snipplr.com/view/42740/twitter-php-script/</link>
<description><![CDATA[ <p>A Twitter pull-in that I coded using PHP. Uses the JSON user_timeline Twitter API call. It displays the tweet with links to any urls, users, or hashtags, the time ago, and if it was in reply to anyone.</p> ]]></description>
<pubDate>Fri, 22 Oct 2010 05:37:06 GMT</pubDate>
<guid>http://snipplr.com/view/42740/twitter-php-script/</guid>
</item>
<item>
<title>(PHP) Simple Vimeo JSON API Implementation - mloberg</title>
<link>http://snipplr.com/view/42652/simple-vimeo-json-api-implementation/</link>
<description><![CDATA[ <p>This is a very simple use of the Vimeo API. All it does is list the video title, a thumbnail of the video, and the description. More advance script coming later.</p> ]]></description>
<pubDate>Thu, 21 Oct 2010 07:22:05 GMT</pubDate>
<guid>http://snipplr.com/view/42652/simple-vimeo-json-api-implementation/</guid>
</item>
<item>
<title>(PHP) Tumblr JSON API Implementation - mloberg</title>
<link>http://snipplr.com/view/42648/tumblr-json-api-implementation/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 21 Oct 2010 06:01:26 GMT</pubDate>
<guid>http://snipplr.com/view/42648/tumblr-json-api-implementation/</guid>
</item>
</channel>
</rss>
