title: Impossible to store json in python with single un-escaped backslash
body: <p>I am creating a json body for a REST payload body like so:</p>
  
  <pre><code>&gt;&gt;&gt; j = json.loads('["foo", {"bar": ["to_be_replaced", 1.1, 1.0, 2]}]')
  &gt;&gt;&gt; text = "aaaa" + "\\" + "bbbbb" + "\\" + "cccc"
  &gt;&gt;&gt; j[1]["bar"][0] = text
  &gt;&gt;&gt; j
  ['foo', {'bar': ['aaaa\\bbbbb\\cccc', 1.1, 1.0, 2]}]
  </code></pre>
  
  <p>Annoyingly, the format expected on the other side is like so </p>
  
  <pre><code>"aaaa\bbbb\cccc". 
  </code></pre>
  
  <p>A terrible idea, I know.</p>
  
  <p>I have tried everything and am starting to believe it's simply  impossible to store text in this format in a json object. Is there a way? Or do I need to get the developers of the webservice to choose a more sensible delimiter.</p>
  
  <p>I know it's REALLY a single backslash and if I do a print a get a single backslash</p>
  
  <pre><code>&gt;&gt;&gt; print(text)
  aaaa\bbbbb\cccc
  </code></pre>
  
  <p>But that doesn't help me get it into a json object.</p>