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

com.codingapi.springboot.framework.serializable.MapSerializable Maven / Gradle / Ivy

The newest version!
package com.codingapi.springboot.framework.serializable;

import com.alibaba.fastjson.JSON;

import java.util.Map;

/**
 * @author lorne
 * @since 1.0.0
 */
public interface MapSerializable {

    default Map toMap() {
        return JSON.parseObject(JSON.toJSONString(this));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy