Class RestMapperUtils
java.lang.Object
org.apache.flink.runtime.rest.util.RestMapperUtils
This class contains utilities for mapping requests and responses to/from JSON.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.ObjectMapperReturns a preconfigured flexibleObjectMapper.static org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.ObjectMapperReturns a preconfigured strictObjectMapper.
-
Constructor Details
-
RestMapperUtils
public RestMapperUtils()
-
-
Method Details
-
getStrictObjectMapper
public static org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.ObjectMapper getStrictObjectMapper()Returns a preconfigured strictObjectMapper.- Returns:
- preconfigured object mapper
-
getFlexibleObjectMapper
public static org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.ObjectMapper getFlexibleObjectMapper()Returns a preconfigured flexibleObjectMapper.- Returns:
- preconfigured object mapper
-