<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Wed, 10 Jun 2026 02:31:07 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) JSON Tree(1 function 15 lines)Nested Ul from single or multidimensional json object - halk</title>
      <link>https://snipplr.com/view/67767/json-tree1-function-15-linesnested-ul-from-single-or-multidimensional-json-object</link>
      <description>&lt;p&gt;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)&lt;/p&gt;</description>
      <pubDate>Wed, 17 Oct 2012 04:48:13 UTC</pubDate>
      <guid>https://snipplr.com/view/67767/json-tree1-function-15-linesnested-ul-from-single-or-multidimensional-json-object</guid>
    </item>
    <item>
      <title>(JavaScript) Javascript Equivalent Of PHP foreach - halk</title>
      <link>https://snipplr.com/view/67738/javascript-equivalent-of-php-foreach</link>
      <description>&lt;p&gt;This is the equivalent of doing php's foreach loop in javascript.&lt;/p&gt;</description>
      <pubDate>Mon, 15 Oct 2012 07:36:20 UTC</pubDate>
      <guid>https://snipplr.com/view/67738/javascript-equivalent-of-php-foreach</guid>
    </item>
  </channel>
</rss>
