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

com.mokung.pomegranate.jackson.expand.constant.EnumInterface Maven / Gradle / Ivy

There is a newer version: 1.0.2
Show newest version
package com.mokung.pomegranate.jackson.expand.constant;

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

/**
 * 枚举 接口
 * 
 * @author mokung
 * 
 */
@JsonSerialize(using = EnumInterfaceJsonSerializer.class)
@JsonDeserialize(using = EnumInterfaceJsonDeserializer.class)
public interface EnumInterface {

    /**
     * 获取 json 字符串时展示的value类型 value
     * 
     * @return value
     */
    T getJsonValue();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy