title: json string parse error
body: <p>I have a Json string as-</p>
  
  <pre><code>var RetailerData = {};
  
  // The object that the JSON string should represent, can use this as it is if you want.
  
  RetailerData.webSites = [
  {
      id: 1,
      text: 'J.Crew',
      image: 'images/retailer-logo/jcrew.png',
      extra: 'www.jcrew.com'
  },
  {
      id: 2,
      text: 'GAP',
      image: 'images/retailer-logo/gap.png',
      extra: 'www.gap.com'
  }];
  </code></pre>
  
  <p>I want to parse it using jquery <code> $.parseJSON </code> to get each value. I have tried it using</p>
  
  <pre><code>var obj = $.parseJSON(RetailerData.webSites);
  
  $.each(obj, function() {
      console.log(this['id']);
  });
  </code></pre>
  
  <p>But getting continuous error in each try. Can anyone tell a proper method for doing this.
  Thanks in advance.</p>