def json(self):
        """Deserialize the message body if it is JSON, returning the value.

        :rtype: any

        """
        try:
            return json.loads(self.body)
        except __HOLE__:  # pragma: no cover
            return json.loads(self.body.decode('utf-8'))
dataset/ETHPy150Open gmr/rabbitpy/rabbitpy/message.py/Message.json