title: Creating Array Map from String in JQuery
body: <p>I'm working to understand jQuery with a pretty good knowledge of PHP.</p>
  
  <p>I have a string like so:</p>
  
  <pre><code>[donor="company1" web="http://company1.com" amount="5.50"];[donor="company2" web="http://company2.com" amount="40.00"]
  </code></pre>
  
  <p>I am trying to achieve the answered result from this <a href="https://stackoverflow.com/questions/4538788/javascript-clearing-duplicates-from-an-array-object">question</a>.</p>
  
  <p>Unfortunately, I have no idea how to turn my string into something like what the asker of the other question has to begin with, i.e.:</p>
  
  <pre><code>var data = [{'donor':'company1', 'web':'http://company1.com', 'amount':5.50}, 
              {'donor':'company2', 'web':'http://company2.com', 'amount':40.00}]
  </code></pre>
  
  <p>Any help you can offer would be awesome. I assume it has something to do with map, associative array, object, but I am just not getting it.</p>
  
  <p>Thanks in advance, I really appreciate it!</p>