@classmethod
def parse(cls, name: str) ->'TaskType':
    """
        Converts JSON string into enum value.

        Parameters
        ----------
        name : str
            JSON string.

        Returns
        -------
        TaskType
            Enum value.
        """
    return cls.get_map()[name]
