fastjson禁止循环引用 如何配置文件
我需要解决的问题是fastjson禁止循环引用。
运行出错如下:
Caused by: java.lang.IllegalStateException: Cannot convert value of type [com.alibaba.fastjson.serializer.SerializerFeature] to required type [org.springframework.http.converter.HttpMessageConverter] for property 'messageConverters[1]': no matching editors or conversion strategy found。
代码和配置文件如下:

运行出错如下:
Caused by: java.lang.IllegalStateException: Cannot convert value of type [com.alibaba.fastjson.serializer.SerializerFeature] to required type [org.springframework.http.converter.HttpMessageConverter] for property 'messageConverters[1]': no matching editors or conversion strategy found。
代码和配置文件如下:


...全文
相关推荐
详解在springmvc中解决FastJson循环引用的问题
本篇文章主要介绍了在springmvc中解决FastJson循环引用的问题,小编觉得挺不错的,现在分享给大家,也给大家做个参考。一起跟随小编过来看看吧
Redisson工具类与锁功能[源码]
本文详细介绍了Redisson工具类的使用及其常见的锁功能。Redisson是一个基于Redis的Java驻内存数据网格,支持多种Redis模式(单节点、哨兵、主从、集群)。文章涵盖了从pom引入、yml配置到具体方法的使用,如RLock的加锁、解锁、异步锁等操作。此外,还介绍了自定义codec的实现,通过FastJsonCodec解决JsonJackson序列化时的无限循环异常问题。最后,提供了一个完整的Redisson工具类实现,包括缓存操作、分布式锁等功能,并附有额外功能的链接和相关文章推荐。
fastJson属性配置说明
fastJson属性详细说明:FastJsonHttpMessageConverter4、AutoCloseSource、AllowComment、AllowUnQuotedFieldNames、AllowSingleQuotes、InternFieldNames等
fastjson-1.2.58.rar
近日阿里云官方发布安全公告,Fastjson在1.2.30及以下版本,以及1.2.41至1.2.45版本 存在远程代码执行0day漏洞,要求升级到最新版1.2.58
fastjson Json解析
fastjson Json解析


Web 开发
