I am trying to print the object broadcasted over the "hermes/intent/#" to receive all the intents published over it


#1

I am using the following snippet

intent_json = json.loads(msg.payload)
intentName = intent_json[‘intent’][‘intentName’]
slots = intent_json[‘slots’]

Unfortunately, I can not parse it. If I print the output, it looks like b’{"----------"}’. Somebody please direct me with how to get values like intent name and slot value from it.