

def process_input(self, *args, **kwargs):
    '\n        Convert input json data into a statement object.\n        '
    if (not args):
        raise TypeError('process_input expects at least one positional argument')
    input_json = args[0]
    text = input_json['text']
    del input_json['text']
    return Statement(text, **input_json)

dataset/ETHPy150Open gunthercox/ChatterBot/chatterbot/adapters/io/io_json.py JsonAdapter.process_input/original