Json Reading Error Json.decoder.JSONDecodeError: Invalid \escape
I am writing a code to upload a model (train_and_upload_demo_model.py) in solr using 'config.json' file settings. but I am getting following error: json.decoder.JSONDecodeError: In
Solution 1:
The \l
in "trainingLibraryLocation": "D:\liblinear-2.11"
is treated like an escape sequence. Try escaping the slash itself, ie. "D:\\liblinear-2.11"
.
Post a Comment for "Json Reading Error Json.decoder.JSONDecodeError: Invalid \escape"