def jsondumps(obj, ensure_ascii=True): return xjsondumps(obj, cls=SPTJSONEncoder, ensure_ascii=ensure_ascii)
def jsondumps(obj): return xjsondumps(obj, cls=SPTJSONEncoder)