All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pro.taskana.rest.serialization.WorkbasketMixIn Maven / Gradle / Ivy

There is a newer version: 8.2.0
Show newest version
package pro.taskana.rest.serialization;

import java.util.List;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import pro.taskana.Workbasket;

/**
 * This class is used to override the distributiontargets with non standard
 * serialization classes.
 */
public abstract class WorkbasketMixIn {

    @JsonSerialize(using = DistributionTargetSerializer.class)
    @JsonDeserialize(using = DistributionTargetDeserializer.class)
    abstract List getDistributionTargets();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy