project_flows表中数据是怎么存入进去的呢,其中有个JSON字符串是乱码,怎么设置的呢?

搜索插入语句地方如下:

查看压缩类型,2为Gzip压缩
public enum EncodingType {
PLAIN(1), GZIP(2);
查看flow.toObject方法,其实返回的是一个MAP,定义如下:

查看convertJsonToBytes方法定义如下:
private byte[] convertJsonToBytes(final EncodingType type, final String json) throws IOException {
byte[] data = json.getBytes("UTF-8");
if (type == EncodingType.GZIP) {
data = GZIPUtils.gzipBytes(data);
}
return data;
}
查看Gzip






![[附源码]Python计算机毕业设计Django第三方游戏零售平台](https://img-blog.csdnimg.cn/535b673bcd9e4f088f8f2569b2aa830a.png)








![[附源码]计算机毕业设计springboot酒店在线预约咨询小程序](https://img-blog.csdnimg.cn/afb8efc8401f4053bf3f6d257e6674e4.png)



