title: Jackson JSON Filter without @JsonFilter Annotation
body: <p>I'm trying to filter the response of an API Endpoint using the Jackson library.</p>
  
  <p>I can use @JsonFilter("[filterNameHere]") but this ends up with the class expecting the filter to be applied every time.</p>
  
  <p>Is there a way I can filter the response only on one particular instance?</p>
  
  <pre><code>Pizza pizza = pizzaService.getPizzaById(pizzaId);
  
  ObjectMapper mapper = new ObjectMapper();
  FilterProvider filters = new SimpleFilterProvider().addFilter("baseFilter", SimpleBeanPropertyFilter.serializeAllExcept("base"));
  
  String json = mapper.writer(filters).writeValueAsString(pizza);
  
  return Response.status(200).entity(json).build();
  </code></pre>
  
  <p>I've tried looking around but haven't been able to find anything right.</p>