code: def from_json(self, json_data):
          
          try:
              data = json_data.decode()
          except Exception:
              data = json_data
          self.__dict__ = json.loads(data)
docs: Load JSON data into this Task