2012-05-29, 10:47
I have no clue about python so I can't really help you there. All I can tell you is that in JSON (and in many (other) programming languages) the backslash \ is used as an escape character so you need to escape it with another backslash. If python uses the backslash as an escape character as well you'll need to escape it again (which is probably why you need the _path.replace("\\", "\\\\")).
Forward slashes / (which are used by linux for paths) don't need to be escaped.
Forward slashes / (which are used by linux for paths) don't need to be escaped.