<?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/tags/json</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 21:22:07 GMT</pubDate>
<item>
<title>(Python) Objectjson - JSON to nested object. - plainwreck</title>
<link>http://snipplr.com/view/71218/objectjson--json-to-nested-object/</link>
<description><![CDATA[ <p>Makes working with JSON data, in my eyes, easier in Python.

Instead of

    json_data['key']['key']['key']

Do

    json_data.key.key.key

This can also be modified to work the same way with dict types.</p> ]]></description>
<pubDate>Fri, 17 May 2013 23:23:24 GMT</pubDate>
<guid>http://snipplr.com/view/71218/objectjson--json-to-nested-object/</guid>
</item>
<item>
<title>(JavaScript) Search string to JSON - Pjotor</title>
<link>http://snipplr.com/view/70905/search-string-to-json/</link>
<description><![CDATA[ <p>Since I'm doing this from time to time, I thought I'd put a snipplet here.

This function returns a JSON objectbased on document.location.search</p> ]]></description>
<pubDate>Tue, 23 Apr 2013 23:26:06 GMT</pubDate>
<guid>http://snipplr.com/view/70905/search-string-to-json/</guid>
</item>
<item>
<title>(Java) JSON How - VijayDePrabu</title>
<link>http://snipplr.com/view/70208/json-how/</link>
<description><![CDATA[ <p>this code is for json parsing</p> ]]></description>
<pubDate>Sat, 02 Mar 2013 09:48:48 GMT</pubDate>
<guid>http://snipplr.com/view/70208/json-how/</guid>
</item>
<item>
<title>(JavaScript) Google Docs Spreadsheet Rows to JSON - asimmittal</title>
<link>http://snipplr.com/view/69810/google-docs-spreadsheet-rows-to-json/</link>
<description><![CDATA[ <p>This snippet takes all the rows from your google spreadsheet and turns it into JSON, which can be copied to the clipboard. You can run this as part of the Google Docs scripting environment.</p> ]]></description>
<pubDate>Wed, 06 Feb 2013 14:36:58 GMT</pubDate>
<guid>http://snipplr.com/view/69810/google-docs-spreadsheet-rows-to-json/</guid>
</item>
<item>
<title>(PHP) JSONP Public API with jQuery getJSON (callback) (MySql) - halk</title>
<link>http://snipplr.com/view/68583/jsonp-public-api-with-jquery-getjson-callback-mysql/</link>
<description><![CDATA[ <p>This is a public jsonp api. I use it with jQuery Like This:
$.getJSON("http://yourdomain/yourpath/jsonp_api.php?method=getSchema&amp;params=your_db_name&amp;jsoncallback=?",
        function(data){
         //DO SOMETHING WITH THE DATA HERE
        }
    );</p> ]]></description>
<pubDate>Fri, 16 Nov 2012 09:08:46 GMT</pubDate>
<guid>http://snipplr.com/view/68583/jsonp-public-api-with-jquery-getjson-callback-mysql/</guid>
</item>
<item>
<title>(JavaScript) JSON Tree(1 function 15 lines)Nested Ul from single or multidimensional json object - halk</title>
<link>http://snipplr.com/view/67767/json-tree1-function-15-linesnested-ul-from-single-or-multidimensional-json-object/</link>
<description><![CDATA[ <p>Any valid json object will be recursively traversed building a nested unordered list of its properties and their values.  This example parses the json entered in the text area into an object that is passed to the json_tree() function.  I use the twitter bootstrap to make collapsible trees.  That is the purpose of thee css and the random string i generate.  I left it in as an example of how you might style the returned list.  This is very much a work in progress so if you have any suggestions please post a comment.  I have posted the entire html for a working example page just create the file and open it in your browser.(make sure your json validates - http://jsonlint.com - only valid json will produce a tree)</p> ]]></description>
<pubDate>Wed, 17 Oct 2012 04:48:13 GMT</pubDate>
<guid>http://snipplr.com/view/67767/json-tree1-function-15-linesnested-ul-from-single-or-multidimensional-json-object/</guid>
</item>
<item>
<title>(JavaScript) JSON Formatter - penguin999</title>
<link>http://snipplr.com/view/67699/json-formatter/</link>
<description><![CDATA[ <p>This function will format a JSON object or string so that it can be displayed within a browser (within a textarea or "pre" styled element).

Example usage: http://jsfiddle.net/q2gnX/</p> ]]></description>
<pubDate>Fri, 12 Oct 2012 05:54:51 GMT</pubDate>
<guid>http://snipplr.com/view/67699/json-formatter/</guid>
</item>
<item>
<title>(jQuery) JSONObj - StrawMan</title>
<link>http://snipplr.com/view/67041/jsonobj/</link>
<description><![CDATA[ <p>Json data handling object.
Provides two static methods for handling json data retrieval in conjunction with the jQuery ajax and json parser.</p> ]]></description>
<pubDate>Tue, 04 Sep 2012 10:45:48 GMT</pubDate>
<guid>http://snipplr.com/view/67041/jsonobj/</guid>
</item>
<item>
<title>(PHP) JSON Responder - evinweissenberg</title>
<link>http://snipplr.com/view/66800/json-responder/</link>
<description><![CDATA[ <p>This response in JSON format with an ability to indicate type,code, message and if there is data, with data.</p> ]]></description>
<pubDate>Sat, 18 Aug 2012 07:51:54 GMT</pubDate>
<guid>http://snipplr.com/view/66800/json-responder/</guid>
</item>
<item>
<title>(PHP) REST API products and categories from pinnacleCart - crypticsoft</title>
<link>http://snipplr.com/view/66798/rest-api-products-and-categories-from-pinnaclecart/</link>
<description><![CDATA[ <p>This is a useful class which utilizes Phil Sturgeon's helpful restclient (http://getsparks.org/packages/restclient/versions/HEAD/show). Reference the URL attached for PinnacleCart API docs.

Example request URLs to get products and categories:

# Get product by product_id (XX##) or keyword(s)
~/products/getProducts/search/10/oj70/oj77/oj75

# Recently added products by CategoryID (/cID/batchSize)
~/products/getProductsByCategory/92/10

# Recently added product images by CategoryID (/cID/batchSize) 
-- This was to remove the 'Description' key/value for slide shows
~/products/getProductImagesByCategory/92/10

# Recently added products by limit
~/products/getRecentlyAdded/20

# Get all categories
~/products/getCategories</p> ]]></description>
<pubDate>Sat, 18 Aug 2012 02:50:58 GMT</pubDate>
<guid>http://snipplr.com/view/66798/rest-api-products-and-categories-from-pinnaclecart/</guid>
</item>
<item>
<title>(JavaScript) CRM 2011 Zip Code Lookup - evshell18</title>
<link>http://snipplr.com/view/65848/crm-2011-zip-code-lookup/</link>
<description><![CDATA[ <p>Allows the ability to fill City and State fields in CRM 2011 based on the value of a Zip Code field (and optionally Country). 

Requires JQuery and JSON

Uses Yahoo geocode service

Originally written by Bill Caldwell ( http://dynamicscrmdenver.com/2012/05/25/dynamics-crm-2011-javascript-zipcodepostal-code-lookup/ )</p> ]]></description>
<pubDate>Thu, 28 Jun 2012 07:16:57 GMT</pubDate>
<guid>http://snipplr.com/view/65848/crm-2011-zip-code-lookup/</guid>
</item>
<item>
<title>(PHP) Listing Google Spreadsheet answers with PHP (Parsing JSON) - Felladrin</title>
<link>http://snipplr.com/view/64777/listing-google-spreadsheet-answers-with-php-parsing-json/</link>
<description><![CDATA[ <p>Make your spreadsheet public to get a key like this: 0AsfENoKj1ir7dE8yR6U0aUtpdTVNM20wRlNJOhZaclG

Set it on the script and you're all done.</p> ]]></description>
<pubDate>Wed, 02 May 2012 09:07:04 GMT</pubDate>
<guid>http://snipplr.com/view/64777/listing-google-spreadsheet-answers-with-php-parsing-json/</guid>
</item>
<item>
<title>(SAS) [SAS] JSON output - ccw</title>
<link>http://snipplr.com/view/64161/sas-json-output/</link>
<description><![CDATA[ <p>SAS code to output in JSON format</p> ]]></description>
<pubDate>Mon, 26 Mar 2012 14:44:52 GMT</pubDate>
<guid>http://snipplr.com/view/64161/sas-json-output/</guid>
</item>
<item>
<title>(PHP) Pass PHP array parameter to Javascript Function - Narayon</title>
<link>http://snipplr.com/view/63829/pass-php-array-parameter-to-javascript-function/</link>
<description><![CDATA[ <p>Writing an PHP array in a javascript file with json_encode.</p> ]]></description>
<pubDate>Sat, 10 Mar 2012 03:17:29 GMT</pubDate>
<guid>http://snipplr.com/view/63829/pass-php-array-parameter-to-javascript-function/</guid>
</item>
<item>
<title>(Bash) Adding jstontools jar to Maven repository - ef</title>
<link>http://snipplr.com/view/63609/adding-jstontools-jar-to-maven-repository/</link>
<description><![CDATA[ <p>Way to install jsontools jar. Inspired by http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html</p> ]]></description>
<pubDate>Tue, 28 Feb 2012 03:18:35 GMT</pubDate>
<guid>http://snipplr.com/view/63609/adding-jstontools-jar-to-maven-repository/</guid>
</item>
<item>
<title>(Bash) Post in jSON - kajinka13</title>
<link>http://snipplr.com/view/63126/post-in-json/</link>
<description><![CDATA[ <p>Post in jSON</p> ]]></description>
<pubDate>Tue, 07 Feb 2012 07:29:22 GMT</pubDate>
<guid>http://snipplr.com/view/63126/post-in-json/</guid>
</item>
<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>(Ruby) Fetch remote JSON in Ruby - vestimir</title>
<link>http://snipplr.com/view/61726/fetch-remote-json-in-ruby/</link>
<description><![CDATA[ <p>An example method for fetching remote JSON data in Ruby.</p> ]]></description>
<pubDate>Wed, 07 Dec 2011 23:55:02 GMT</pubDate>
<guid>http://snipplr.com/view/61726/fetch-remote-json-in-ruby/</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>
</channel>
</rss>