java - How to include/exclude field in json(Jackson - conversion from Object to Json) while converting on the basis of some property in spring framework? -


let class be

public class student{      (annotate such field included version 1 , excluded others while serializing json)      private int id;      private string name; } 

is there method in spring achieve this?


Comments

Popular posts from this blog

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -