开发者

Spring Jackson Mapper

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜