title: Struggling to convert JSON string in Javascript to JSON
body: <p>So I'm making a hybrid mobile application using angular and I have this string that comes from a $http.jsonp request. The response that I receive I'm trying to turn in to JSON. I've checked the JSON request at <a href="https://jsonformatter.curiousconcept.com/" rel="nofollow">https://jsonformatter.curiousconcept.com/</a> and it seems that the JSON is valid.</p>
  
  <p>The error I receive in the Chrome web console is "Uncaught Syntax Error: Unexpected token :" and I can't for the life of me work out why this would be?</p>
  
  <p>Using the response from the server below, can someone tell me what I'm doing wrong here?</p>
  
  <pre><code>{
     "rss":{
        "version":"2.0",
        "xmlns:content":"http://purl.org/rss/1.0/modules/content/",
        "xmlns:wfw":"http://wellformedweb.org/CommentAPI/",
        "xmlns:dc":"http://purl.org/dc/elements/1.1/",
        "xmlns:atom":"http://www.w3.org/2005/Atom",
        "xmlns:sy":"http://purl.org/rss/1.0/modules/syndication/",
        "xmlns:slash":"http://purl.org/rss/1.0/modules/slash/",
        "channel":{
           "title":"WEBSITE TITLE",
           "link":[
              {
                 "href":"https://www.WEBURL.com/feed/",
                 "rel":"self",
                 "type":"application/rss+xml"
              },
              "https://www.WEBURL.com"
           ],
           "description":"WEB DESCRIPTION",
           "lastBuildDate":"Fri, 25 Sep 2015 16:33:52 +0000",
           "language":"en-US",
           "updatePeriod":"hourly",
           "updateFrequency":"1",
           "generator":"http://wordpress.org/?v=4.3",
           "item":[
              {
                 "title":"TITLE",
                 "link":"https://www.WEBURL.com/2015/09/25/POST",
                 "comments":[
                    "https://www.WEBURL.com/2015/09/25/POST/#comments",
                    "0"
                 ],
                 "pubDate":"Fri, 25 Sep 2015 16:27:19 +0000",
                 "creator":"AUTHOR",
                 "category":"CATEGORY",
                 "guid":"https://www.WEBURL.com/?p=12345",
                 "description":"&lt;p&gt;POST DESCRIPTION&lt;/p&gt;\n",
                 "encoded":"&lt;p class=\"article-content__figure article-content--image\"&gt;POST CONTENT&lt;/p&gt;\n",
                 "commentRss":"https://www.WEBURL.com/2015/09/25/POST/feed/"
              }
           ]
        }
     }
  }
  </code></pre>
  
  <p>The Javascript goes as:</p>
  
  <pre><code>$http.jsonp("http://jsonburner.herokuapp.com/source?feed=https://www.WEBURL.com/feed/")
              .success(function(data) {
              $scope.debug = data.rss.version
              //$scope.debug = data.rss.version
  
          })
          .error(function(data) {
              $scope.debug = data
              //$scope.debug = data.rss.version
  
          });
  </code></pre>
  
  <p>Thanks</p>
  
  <p>Alex </p>