Passing Json object in Process method

I want to pass a json obect in message so that I can pass a string value and a integer value to process method:

def process(self, message, **kwargs):

Is that possible?

could you please provide more details, which process method

I want to give like this;

jsondata={‘topnSim’:‘5’, ‘userinput’:‘Greenstone reports functional’}

interpreter.parse(jsondata)

sorry, I don’t understand what do you mean