public class ObjectMapperFactory
extends java.lang.Object
ObjectMapperFactory for creating ObjectMapper objects| Constructor and Description |
|---|
ObjectMapperFactory() |
| Modifier and Type | Method and Description |
|---|---|
static com.fasterxml.jackson.databind.ObjectMapper |
newObjectMapper()
Factory method for create a new
ObjectMapper |
static com.fasterxml.jackson.databind.ObjectMapper |
newObjectMapper(boolean newMapper)
Factory method for create a new
ObjectMapper. |
static com.fasterxml.jackson.databind.ObjectMapper |
newObjectMapper(java.util.Map<com.fasterxml.jackson.core.JsonParser.Feature,java.lang.Boolean> features)
Factory method for create a new
ObjectMapper with the given features |
public static com.fasterxml.jackson.databind.ObjectMapper newObjectMapper()
ObjectMapperObjectMapperpublic static com.fasterxml.jackson.databind.ObjectMapper newObjectMapper(boolean newMapper)
ObjectMapper. If the given flag is true a new
ObjectMapper will be created otherwise the default ObjectMapper will be
taken.newMapper - flag that indicates if a new ObjectMapper should be created, if true a new
ObjectMapper will be created otherwise the default ObjectMapper
from this class will be returned.ObjectMapperpublic static com.fasterxml.jackson.databind.ObjectMapper newObjectMapper(java.util.Map<com.fasterxml.jackson.core.JsonParser.Feature,java.lang.Boolean> features)
ObjectMapper with the given featuresfeatures - the features for the new ObjectMapperObjectMapper