title: Python: How to escape double quote inside json string value?
body: <p>I'm having trouble parsing a json string in python because there are extra double quotes inside the string values like <code>{"name": "Jack O"Sullivan", "id": "1"}</code> </p>
  
  <p>I'm trying to convert it into list for further evaluation like so:</p>
  
  <pre><code>import ast
  js = '{"name": "Jack O"Sullivan", "id": "1"}'
  ast.literal_eval(js).values()  
  </code></pre>
  
  <p>How do I change the json string to be something like this <code>"Jack O\'Sullivan"</code>, so that it evaluated properly.</p>
  
  <p><strong>Edit</strong> Just to stress that I know the json is invalid but this is what I've got and changing the source is NOT an option. I'm looking to work around this limitation at the moment.</p>