Organize Windows file paths into folders
<p>I am going to have a HUGE amount of windows file "URLs" in a json string like this:</p>

<pre><code>{"C:\\Users\\Tyler\Desktop\\File1.jpg','C:\\Users\\Tyler\\Desktop\\Folder1\\File2.png"}
</code></pre>

<p>and so on and so forth...
I need these files to be organized in a sort of Windows explorer type situation on a website, so I need to to be organized to something like this:</p>

<pre><code>{"C:":[{"Users":[{"Tyler":[{"Desktop":[{"File1.jpg","Folder1":[{"File2.png"}]}]}]}]}]}
</code></pre>

<p>I need this to be done in client side javascript, and jquery would also work.
Thanks.</p>