FastJsonConfig fastJsonConfig = new FastJsonConfig();
fastJsonConfig.setFeatures(Feature.SupportAutoType);
fastJsonConfig.setSerializerFeatures(SerializerFeature.WriteClassName);
修改fastjson配置,启动自动类型转换
FastJsonConfig fastJsonConfig = new FastJsonConfig();
fastJsonConfig.setFeatures(Feature.SupportAutoType);
fastJsonConfig.setSerializerFeatures(SerializerFeature.WriteClassName);
修改fastjson配置,启动自动类型转换