title: Python breaks parsing json with characters \"
body: <p>I'm trying to parse json string with an escape character (Of some sort I guess)</p>
  
  <pre><code>{
      "publisher": "\"O'Reilly Media, Inc.\""
  }
  </code></pre>
  
  <p>Parser parses well if I remove the character <code>\"</code> from the string,</p>
  
  <p>the exceptions raised by different parsers are,</p>
  
  <p><strong>json</strong></p>
  
  <pre><code>  File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
      return _default_decoder.decode(s)
    File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
      obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
      obj, end = self.scan_once(s, idx)
  ValueError: Expecting , delimiter: line 17 column 20 (char 392)
  </code></pre>
  
  <p><strong>ujson</strong></p>
  
  <pre><code>ValueError: Unexpected character in found when decoding object value
  </code></pre>
  
  <p>How do I make the parser to escape this characters ? </p>
  
  <p>update:
  <a href="https://i.stack.imgur.com/cY8l2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cY8l2.png" alt="enter image description here"></a> 
  <em>ps. json is imported as ujson in this example</em></p>
  
  <p><a href="https://i.stack.imgur.com/2d195.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2d195.png" alt="enter image description here"></a></p>
  
  <p>This is what my ide shows </p>
  
  <p>comma is just added accidently, it has no trailing comma at the end of json, json is valid</p>
  
  <p><a href="https://i.stack.imgur.com/uuFTB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uuFTB.png" alt="enter image description here"></a></p>
  
  <p>the string definition.</p>