开发者

Spring Jackson Mapper

开发者 https://www.devze.com 2023-03-26 10:52 出处:网络
Just wondering if is it possible to ask mapper not to开发者_如何学Go serialize certain fields if user is in certain role. Meaning security config will control views.Just add @JsonIgnore on the hidden

Just wondering if is it possible to ask mapper not to开发者_如何学Go serialize certain fields if user is in certain role. Meaning security config will control views.


Just add @JsonIgnore on the hidden properties

0

精彩评论

暂无评论...
验证码 换一张
取 消