public class JacksonFeature extends Object implements javax.ws.rs.core.Feature
Feature to register Jackson PropertyBox JSON serializers/deserializers and context resolver
for properly configured ObjectMapper.| Modifier and Type | Field and Description |
|---|---|
static String |
FEATURE_NAME
Feature name
|
static String |
JAXRS_DISABLE_JACKSON_AUTO_CONFIG
Property name to put in JAX-RS application configuration to disable Jackson provider (message body reader and
writer) and context resolver auto-configuration.
|
static String |
JAXRS_DISABLE_JACKSON_CONTEXT_RESOLVER
Property name to put in JAX-RS application configuration to disable Jackson context resolver auto-configuration
only (message body reader and writer will be auto-configured).
|
static String |
JAXRS_JSON_PRETTY_PRINT
Property name to put in JAX-RS application configuration to enable JSON pretty print for the JSON
message body writer.
|
| Constructor and Description |
|---|
JacksonFeature() |
public static final String JAXRS_DISABLE_JACKSON_AUTO_CONFIG
public static final String JAXRS_DISABLE_JACKSON_CONTEXT_RESOLVER
public static final String JAXRS_JSON_PRETTY_PRINT
public static final String FEATURE_NAME
Copyright © 2019 The Holon Platform. All rights reserved.