title: ValueError: Invalid \escape unable to load json from file
body: <p>I have a issues loading a json file of user and password in python to retrieve data from the rest api which uses authentication to extract the json data from the url. </p>
  
  <p>When I have put the user, password and uri in the json file and run the script it gives me this error in the json libary : </p>
  
  <pre><code>Traceback (most recent call last):
    File "C:/Python27/Script.py", line 10, in &lt;module&gt;
      config = json.load(config_file) 
    File "C:\Python27\lib\json\__init__.py", line 290, in load
      parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
    File "C:\Python27\lib\json\__init__.py", line 338, in loads
      return _default_decoder.decode(s)
    File "C:\Python27\lib\json\decoder.py", line 364, in decode
      obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    File "C:\Python27\lib\json\decoder.py", line 380, in raw_decode
      obj, end = self.scan_once(s, idx)
  ValueError: Invalid \escape: line 7 column 42 (char 270)
  </code></pre>
  
  <p>This is the code: </p>
  
  <pre><code>import urllib2
  import json
  
   #Load the config file
  with open('Config.json') as config_file :    
      config = json.load(config_file) 
  # Load your username from the config file
  user = config['user']
  # Load your password from the config file
  password = config['password']
  
  enter code here
  </code></pre>
  
  <p>The json file from which it loads sample is here:</p>
  
  <pre><code>{
      "user" : "api",
      "password" : "admin1234",
      "uri": "https://datafeeds.emailsecurity.com/test",
      "resetUri": "https://datafeeds.emailsecurity.com/test/test?reset=2017-07-01T00:00:00Z",
      "files" : {
          "cookiesFilePath" : "C:\\abc",
          "logsFilePath" : "C:\\abc",
      }
  }
  </code></pre>