Package com.hybris.cockpitng.json.impl
Class DefaultObjectMapperConfiguration
- java.lang.Object
-
- com.hybris.cockpitng.json.impl.DefaultObjectMapperConfiguration
-
- All Implemented Interfaces:
ObjectMapperConfiguration
public class DefaultObjectMapperConfiguration extends java.lang.Object implements ObjectMapperConfiguration
CreatesObjectMapperwith configuration:- FAIL_ON_EMPTY_BEANS: false
- FAIL_ON_UNKNOWN_PROPERTIES: false
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_CLASS_PROPERTY
-
Constructor Summary
Constructors Constructor Description DefaultObjectMapperConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.ObjectMapperconfigureObjectMapper(java.lang.Class<?> objectType, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
-
Field Detail
-
JSON_CLASS_PROPERTY
public static final java.lang.String JSON_CLASS_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
configureObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper configureObjectMapper(java.lang.Class<?> objectType, com.fasterxml.jackson.databind.ObjectMapper mapper)- Specified by:
configureObjectMapperin interfaceObjectMapperConfiguration- Parameters:
objectType- type of object that is going to be mappedmapper- mapper to be configured- Returns:
- fully configured mapper to be used for mapping
-
-