public class JacksonJsonbBuilder extends Object implements javax.json.bind.JsonbBuilder
| Modifier and Type | Field and Description |
|---|---|
static String |
INCLUDE_EMPTY_VALUES
Property name that can be used in configuration
|
static String |
INCLUDE_NULL_VALUES
Property name that can be used in configuration to toggle whether null-values should be serialized or not.
|
| Constructor and Description |
|---|
JacksonJsonbBuilder() |
| Modifier and Type | Method and Description |
|---|---|
javax.json.bind.Jsonb |
build() |
javax.json.bind.JsonbBuilder |
withConfig(javax.json.bind.JsonbConfig jsonbConfig) |
javax.json.bind.JsonbBuilder |
withProvider(javax.json.spi.JsonProvider jsonProvider) |
public static final String INCLUDE_NULL_VALUES
jsoncConfig.withNullValues(true|false) or using
JsonbConfig.NULL_VALUES.public static final String INCLUDE_EMPTY_VALUES
public javax.json.bind.JsonbBuilder withConfig(javax.json.bind.JsonbConfig jsonbConfig)
withConfig in interface javax.json.bind.JsonbBuilderpublic javax.json.bind.JsonbBuilder withProvider(javax.json.spi.JsonProvider jsonProvider)
withProvider in interface javax.json.bind.JsonbBuilderpublic javax.json.bind.Jsonb build()
build in interface javax.json.bind.JsonbBuilderCopyright © 2017 DevCon5 GmbH. All rights reserved.