title: json reading error json.decoder.JSONDecodeError: Invalid \escape
body: <p>I am writing a code to upload a model (train_and_upload_demo_model.py) in solr using &quot;config.json&quot; file settings. but I am getting following error:</p>
  <pre><code>json.decoder.JSONDecodeError: Invalid \escape: line 11 column 34 (char 461)
  </code></pre>
  <p>this is the traceback:</p>
  <pre><code>D:\solr640\contrib\ltr\example&gt;python train_and_upload_demo_model.py -c config.json
  
  Traceback (most recent call last):
    File &quot;train_and_upload_demo_model.py&quot;, line 182, in &lt;module&gt;
      sys.exit(main())
    File &quot;train_and_upload_demo_model.py&quot;, line 158, in main
      config = json.load(configFile)
    File &quot;C:\Users\Pankaj\AppData\Local\Programs\Python\Python36-32\lib\json\__init__.py&quot;, line 299, in load
      parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
    File &quot;C:\Users\Pankaj\AppData\Local\Programs\Python\Python36-32\lib\json\__init__.py&quot;, line 354, in loads
      return _default_decoder.decode(s)
    File &quot;C:\Users\Pankaj\AppData\Local\Programs\Python\Python36-32\lib\json\decoder.py&quot;, line 339, in decode
      obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    File &quot;C:\Users\Pankaj\AppData\Local\Programs\Python\Python36-32\lib\json\decoder.py&quot;, line 355, in raw_decode
      obj, end = self.scan_once(s, idx)
  json.decoder.JSONDecodeError: Invalid \escape: line 11 column 34 (char 461)
  </code></pre>
  <p>content of config.json file</p>
  <pre><code>  {
      &quot;host&quot;:                     &quot;localhost&quot;,
      &quot;port&quot;:                     8983,
      &quot;collection&quot;:               &quot;techproducts&quot;,
      &quot;requestHandler&quot;:           &quot;query&quot;,
      &quot;q&quot;:                        &quot;*:*&quot;,
      &quot;efiParams&quot;:                &quot;efi.user_query='$USERQUERY'&quot;,
      &quot;userQueriesFile&quot;:          &quot;user_queries.txt&quot;,
      &quot;trainingFile&quot;:             &quot;exampleTrainingFile.txt&quot;,
      &quot;trainedModelFile&quot;:         &quot;exampleTrainedModel.txt&quot;,
      &quot;trainingLibraryLocation&quot;:  &quot;D:\liblinear-2.11&quot;,
      &quot;trainingLibraryOptions&quot;:   &quot;-q&quot;,
      &quot;solrFeaturesFile&quot;:         &quot;exampleFeatures.json&quot;,
      &quot;solrFeatureStoreName&quot;:     &quot;exampleFeatureStore&quot;,
      &quot;solrModelFile&quot;:            &quot;exampleModel.json&quot;,
      &quot;solrModelName&quot;:            &quot;exampleModel&quot;
    }
  </code></pre>
  <p>can i get to know where i am making the mistake?</p>
  <p>Is this is the error because of &quot;trainingLibraryLocation&quot;:  &quot;D:\liblinear-2.11&quot;, syntax?? because this is the line no. 11</p>
  <p>Is there any other way to pass directory location.</p>