类 MappingUtils
java.lang.Object
org.starcoin.serde.format.jackson.utils.MappingUtils
-
方法概要
修饰符和类型方法说明static com.fasterxml.jackson.databind.ObjectMapper
static Map<String,ContainerFormat>
toContainerFormatMap(com.fasterxml.jackson.databind.ObjectMapper objectMapper, Map<String,Object> map)
Convert 'dynamic' map(probably loaded directly from YAML/JSON) to ContainerFormat map.
-
方法详细资料
-
toContainerFormatMap
public static Map<String,ContainerFormat> toContainerFormatMap(com.fasterxml.jackson.databind.ObjectMapper objectMapper, Map<String,Object> map)Convert 'dynamic' map(probably loaded directly from YAML/JSON) to ContainerFormat map.- 参数:
objectMapper
- ObjectMappermap
- Origin map.- 返回:
- ContainerFormat map.
-
getObjectMapper
public static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-