title: Ignoring properties and accessors while using jackson
body: <p>I have a POJO which i need to serialize into JSON. The POJO has a lot of properties and I would like to serialize only a few of them into the JSON representation. I am using jackson to serialize. Since there are a lot of properties that i want to ignore it looks very ugly to annotate each of them as @JsonIgnore </p>
  
  <p>Do is there a way to tell jackson or configure objectMapper to only include properties when its annotated as @JsonProperty and ignore the rest without specifying @JsonIgnore. </p>