Search code examples
pythonsimplejson

python simple json problem with a unicode string url "link": "http:\/\/www.mydomain.com"?


i have a dictionary when i pass it over simplejson.dumps(dict) the json output has put some sort of encoding on a string url?

"link": "http:\/\/www.mydomain.com"

How can i stop this?

Im using app engine simplejson.


Solution

  • I don't see a problem with this. This encoding for the forward slash is perfectly valid. If the other side can't decode this then it's their JSON library that is broken.