title: Python not parsing JSON data because of # symbol followed by space?
body: <p><strong>Note:</strong></p>
  
  <p>Please see edit below.  This was nothing except a side effect of using a module in a program that could not handle the JSON data format.</p>
  
  <p>I have a JSON feed, from instagram which uses many <code>#</code> symbols.  For the most part it has parsed the data fine, but in one case, I received a key value pair that looked like this:</p>
  
  <pre><code>    "type": "image",
      "title": "artistsonthelam",
      "text": ""
      My# heart Is With You Always.
      " #laser #installation by #traceyemin# abhk2014",
  </code></pre>
  
  <p>You can see the issue in the <code>text</code> field. For some reason the <code>#</code> followed by the space (I think) in the <code>text</code> key, is causing a problem.  It escapes the text. </p>
  
  <p>Or, the person used quotes in the <code>text</code> field, and did not close them, which also escapes the text?
  The error i get is <code>ValueError: Expecting ',' delimiter: line 464 column 9 (char 18272)</code></p>
  
  <p>Can anybody tell me what the problem is or better yet, how to fix it by either not parsing the text field or fixing the issue with the quotes? Thanks </p>
  
  <p><strong>Edit:</strong>
  I was retrieving this data not through Python but through a module in another program that made HTTP requests that did could not handle JSON correctly.  It did the retrieving, and then I tried to parse the resulting string in Python. The issue was that this module did not fetch valid JSON so that I couldn't parse it correctly.  Thanks for your help and sorry for the confusion.</p>