title: How to hide a JsonProperty in the DTO?
body: <p>I am using a DTO for both the insertion of an object and for the search that returns the data.</p>
  <p>in particular, I was interested to understand if there is a way to hide some fields:</p>
  <pre><code>    private List &lt;aDTO&gt; sos;
  
      private List &lt;aDTO&gt; sosPast;
  
      private List &lt;aDTO&gt; sosPresentFuture;
  </code></pre>
  <p>sos is used in writing to insert a list of objects.
  in the research, I need two separate elements, one that returns the past objects, one that returns the present and/or future objects.</p>
  <p>so in insertion, I will have to show only</p>
  <pre><code>    private List &lt;aDTO&gt; sos;
  </code></pre>
  <p>in the research, I will have to show only</p>
  <pre><code>    private List &lt;aDTO&gt; sosPast;
      private List &lt;aDTO&gt; sosPresentFuture;
  </code></pre>
  <p>(In research the problem was solved by</p>
  <pre><code>    @Mapping(target = &quot;sos&quot;, ignore = true)
  </code></pre>
  <p>in the mapper)</p>
  <p>Now I need something to hide the two lists (sosPast and sosPresentFuture) in order to leave only the sos list.</p>