类 MappingUtils

java.lang.Object
org.starcoin.serde.format.jackson.utils.MappingUtils

public class MappingUtils extends Object
  • 方法详细资料

    • 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 - ObjectMapper
      map - Origin map.
      返回:
      ContainerFormat map.
    • getObjectMapper

      public static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()