Class GenieObjectMapper
- java.lang.Object
-
- com.netflix.genie.common.external.util.GenieObjectMapper
-
public final class GenieObjectMapper extends java.lang.Object
A singleton for sharing a Jackson Object Mapper instance across Genie and not having to redefine the Object Mapper everywhere.- Since:
- 4.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EXCEPTIONS_FILTER_NAME
The name of thePropertyFilter
used to serialize Genie exceptions.static com.fasterxml.jackson.databind.ser.FilterProvider
FILTER_PROVIDER
TheFilterProvider
to be installed in theObjectMapper
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.fasterxml.jackson.databind.ObjectMapper
getMapper()
Get the preconfigured Object Mapper used across Genie for consistency.
-
-
-
Field Detail
-
EXCEPTIONS_FILTER_NAME
public static final java.lang.String EXCEPTIONS_FILTER_NAME
The name of thePropertyFilter
used to serialize Genie exceptions.- See Also:
- Constant Field Values
-
FILTER_PROVIDER
public static final com.fasterxml.jackson.databind.ser.FilterProvider FILTER_PROVIDER
TheFilterProvider
to be installed in theObjectMapper
.
-
-