Class JacksonJsonFieldBodyFilter

  • All Implemented Interfaces:
    BodyFilter

    public class JacksonJsonFieldBodyFilter
    extends Object
    implements BodyFilter
    Thread-safe filter for JSON fields. Filters on property names.

    Output is always compacted, even in case of invalid JSON, so this filter should not be used in conjunction with JsonCompactor.
    • Constructor Detail

      • JacksonJsonFieldBodyFilter

        public JacksonJsonFieldBodyFilter​(Collection<String> fieldNames,
                                          String replacement,
                                          com.fasterxml.jackson.core.JsonFactory factory)
      • JacksonJsonFieldBodyFilter

        public JacksonJsonFieldBodyFilter​(Collection<String> fieldNames,
                                          String replacement)