title: What is equivalent code settings for @JSonIgnore annotation?
body: <p>I'm new to <code>Java</code> and <code>Jackson</code> and a lot of other technologies which I try to use, so I'd appreciate a detailed answer.</p>
  
  <p>Is there a way to prevent one or more fields from being serialized using <code>Jackson</code> into a <code>JSON</code> String_like format, but without using any kind of <code>JSON</code> annotations? </p>
  
  <p>Something like: <code>mapper.getSerializationConfig().something(ignore("displayname"))</code> if you know what I mean.
  My object is an instance of a class that extends another one, and implements one interface also so on, so the fields come from an hierarchy of classes. 
  I need the <code>JSON</code> representation for that object but containing only certain fields, so I can send that <code>JSON</code> in a mock request through a <code>POST</code> method.
  I'm using <code>Jackson</code> <code>2.2.2</code>.</p>