解决fastJson无序问题

对外提供接口,第三方传过来的参数没问题。可是用fastJson 转换的出现 参数顺序不一致,导致 验签失败

解决fastJosn 转换无序问题

https://github.com/alibaba/fastjson/issues/954 问题解决

JSON.parseObject("...", Feature.OrderedField)

猜你喜欢

转载自www.cnblogs.com/kingxiaozi/p/10244402.html