com.fasterxml.jackson.annotation.JsonFilter Java Examples

The following examples show how to use com.fasterxml.jackson.annotation.JsonFilter. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JacksonMixInFilterModule.java    From camunda-bpm-elasticsearch with Apache License 2.0 5 votes vote down vote up
public static String getJsonFilterAnnotationValue(Class clazz) {
  JsonFilter jsonFilterAnnotation = (JsonFilter) clazz.getAnnotation(JsonFilter.class);
  if (jsonFilterAnnotation != null) {
    return jsonFilterAnnotation.value();
  }

  return null;
}
 
Example #2
Source File: JsonOutputFilter.java    From emissary with Apache License 2.0 4 votes vote down vote up
@JsonProperty("parameters")
@JsonFilter("param_filter")
abstract Map<String, Collection<Object>> getParameters();