def scriptsafe_dumps(obj, **kwargs):
 text = _force_unicode(json.dumps(obj, **kwargs))
 return _Unsafe(text.translate(_json_escapes))

def scriptsafe_dumps ( obj , ** kwargs ) : text = _force_unicode ( json . dumps ( obj , ** kwargs ) ) return _Unsafe ( text . translate ( _json_escapes ) )
like json .