def result_processor(self, dialect, coltype):
    default_processor = super(_SQliteJson, self).result_processor(dialect, coltype)

    def process(value):
        try:
            return default_processor(value)
        except TypeError:
            if isinstance(value, numbers.Number):
                return value
            else:
                raise
    return process
def result_processor(self, dialect, coltype):
    default_processor = super(_SQliteJson, self).result_processor(dialect, coltype)

    def process(value):
        try:
            return default_processor(value)
        except TypeError:
            if isinstance(value, numbers.Number):
                return value
            else:
                raise
    return process