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

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

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


import com.alibaba.fastjson.JSONObject;

import java.io.Serializable;

public interface JsonSerializable extends Serializable {

    default String toJson() {
        return JSONObject.toJSONString(this);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy