def default(self, o):
        if isinstance(o, date):
            return http_date(o.timetuple())
        if isinstance(o, uuid.UUID):
            return str(o)
        if hasattr(o, '__html__'):
            return text_type(o.__html__())
        return _json.JSONEncoder.default(self, o)
Return an index relative to the cursor position pointing to the start
dataset/ETHPy150Open pallets/flask/flask/json.py/JSONEncoder.default--crossover with--dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/document.py/Document.find_previous_word_beginning