title: GSON exclude fields with custom annotation
body: <p>We have a jsp file with generic page content for admin purpose.</p>
  
  <p>In this we have to hide audit columns, we have used annotation to specify the columns to show in search result, and we have one custom class that filters special character fields.</p>
  
  <pre><code> Gson gson = gsonBuilder.registerTypeHierarchyAdapter(Object.class,
          new CustomJsonSerializer())
          .serializeNulls()
          .setExclusionStrategies(new AdminTableSearchJsonStrategy())
          .create();
  </code></pre>
  
  <p>With the above code special character filters but hiding audit columns not working.</p>
  
  <p>If we remove <strong>CustomJsonSerializer</strong> class then audit column exclusive working, but we want these two to be there, please advice this in case. </p>