The version of django.utils.simplejson on GAE is for example escaping "/" characters, but not "\n" when doing js = json.dumps(my_dict_w_strings_w_newline_and_slash)
which is causing problems when I try to json.loads(js)
in my client someplace else.
Any suggestions on how to sort out a solution? The strings are base64 encoded data which get ruined by this.
My colleague has suggested:
if json.encoder.ESCAPE_DCT.get('/') != '/':
json.encoder.ESCAPE_DCT['/'] = '/'
which is working nicely.