I can not slash off the screen when converting to JSON . (Python 3.7, Linux)
Now '/' need '\/'
Convert dictionary to json
d = json.dumps(dic) - слеши в путях к файлам "/" не экранируются I try the path = path_raw.replace('/', '\\/')
on the exhaust screen of 4 (!) reverse slashes \\\\/ .
I found an interesting ujson package, it has the option of disabling the slash screening, but it does not work, I tried a bunch of combinations with different quotes and \r'\/' and '\\/' and '\\r\/' .