def get_jstext(self):
    return self._jstext


class RawJsJSONEncoder(json.JSONEncoder):

    def __init__(self, *args, **kwargs):
        json.JSONEncoder.__init__(self, *args, **kwargs)
self._replacement_map = {}

def default(self, o):
    pass
Custom JSON Encoder in Python With Precomputed Literal JSON