
坑
SMicroSun
这个作者很懒,什么都没留下…
展开
-
Fastjson循环地址引用
记录解决FastJson循环地址引用问题。 Fastjson循环地址引用前言一、Fastjson循环地址引用产生原因?二、解决方式1.配置SerializerFeature总结 前言 一、Fastjson循环地址引用产生原因? 在查看源代码的情况下,发现在每次拼接json数据的时候,fastjson都会记录当前处理的数据是不是完全包含之前出现过的数据。第一次拼接时是不做处理的,但是再第二次做处理时,通过开关SerializerFeature.DisableCircularReferenceDet.原创 2021-05-07 10:03:55 · 482 阅读 · 0 评论 -
nginx过滤自定义请求头中属性名包含下划线问题
记录问题,对于nginx过滤请求头中自定义属性包含下划线问题,官网给出的解决方案 http://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers Syntax: underscores_in_headers on | off; Default: underscores_in_headers off; Context: http, server Enables or disables the use of unde原创 2020-12-07 11:21:21 · 559 阅读 · 0 评论