Annotation Interface JsonOutputFilter


Annotation for filtering the JSON data returned from a JavaScriptMethod annotated method. Put this annotation on your js proxied method and provide the properties you want filtered.
Author:
Robert Sandell <sandell.robert@gmail.com>
  • Element Details

    • includes

      String[] includes
      White-list of properties to include in the output.
      Default:
      {}
    • excludes

      String[] excludes
      Black-list of properties to exclude from the output.
      Default:
      {}
    • ignoreTransient

      boolean ignoreTransient
      If transient fields should be ignored. Default true.
      See Also:
      • JsonConfig.isIgnoreTransientFields()
      Default:
      true
    • ignoreDefaultExcludes

      boolean ignoreDefaultExcludes
      If JsonConfig.DEFAULT_EXCLUDES should be ignored. Default false
      See Also:
      • JsonConfig.isIgnoreDefaultExcludes()
      Default:
      false