标签: spring spring-boot security serialization jackson
如果存在任何安全风险 spring.jackson.serialization.fail-on-empty-beans=false是在spring boot项目的application.setting中完成的吗?我这样做是为了检索FetchType.LAZY元素。
spring.jackson.serialization.fail-on-empty-beans=false
FetchType.LAZY
@ManyToOne(fetch = FetchType.LAZY) private User destinationUser;