Skip to content
Ryan Heaton edited this page Sep 17, 2015 · 11 revisions

Jackson 1 Module

The Jackson 1 module processes all the Java data types that can be (de)serialized to/from XML using Jackson 1. The Jackson 1 module creates the model that is used to generate all the JSON-based documentation for the API.

Configuration

The configuration for the Jackson 1 module is specified by the jackson1 element under the modules element in the Enunciate configuration file. The following attributes are supported on the jackson1 element:

attribute description
honorJaxb Jackson has support for JAXB annotations. This attribute dictates whether JAXB annotations will be honored when modeling the JSON data types. By default, JAXB annotations will be honored only if the Jackson JAXB support classes are found on the classpath.
datatype-detection The "datatype-detection" dictates how the module is to detect data types for the API. The valid values are "passive" (data types will only be detected when other modules and services explicitly depend on the data types), "aggressive" (data types will be detected aggressively, by scanning the entire classpath), and "local" (data types will be detected only from among those in the source code of the current invocation context). Default is "passive".
Clone this wiki locally