Java org.springframework.http.converter.json Jackson2ObjectMapperBuilder fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.http.converter.json Jackson2ObjectMapperBuilder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.http.converter.json Jackson2ObjectMapperBuilder.

The text is from its open source code.

Field

booleancreateXmlMapper
DateFormatdateFormat
JsonInclude.IncludeserializationInclusion
FilterProviderfilters
Listmodules

Constructor

Method

Tbuild()
Build a new ObjectMapper instance.
voidconfigure(ObjectMapper objectMapper)
Configure an existing ObjectMapper instance with this builder's settings.
Jackson2ObjectMapperBuilderdefaultViewInclusion(boolean defaultViewInclusion)
Shortcut for MapperFeature#DEFAULT_VIEW_INCLUSION option.
Jackson2ObjectMapperBuilderdeserializerByType(Class type, JsonDeserializer deserializer)
Configure a custom deserializer for the given type.
Jackson2ObjectMapperBuilderfailOnUnknownProperties(boolean failOnUnknownProperties)
Shortcut for DeserializationFeature#FAIL_ON_UNKNOWN_PROPERTIES option.
Jackson2ObjectMapperBuilderfeaturesToEnable(Object... featuresToEnable)
Specify features to enable.
Jackson2ObjectMapperBuilderindentOutput(boolean indentOutput)
Shortcut for SerializationFeature#INDENT_OUTPUT option.
Jackson2ObjectMapperBuilderjson()
Obtain a Jackson2ObjectMapperBuilder instance in order to build a regular JSON ObjectMapper instance.
Jackson2ObjectMapperBuildermodulesToInstall(Module... modules)
Specify one or more modules to be registered with the ObjectMapper .
Jackson2ObjectMapperBuildermodulesToInstall(Class... modules)
Specify one or more modules by class to be registered with the ObjectMapper .
Jackson2ObjectMapperBuilderserializerByType(Class type, JsonSerializer serializer)
Configure a custom serializer for the given type.