类 JacksonJsonParser

    • 构造器详细资料

      • JacksonJsonParser

        public JacksonJsonParser​(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Creates an instance with the specified ObjectMapper.
        参数:
        objectMapper - the object mapper to use
      • JacksonJsonParser

        public JacksonJsonParser()
        Creates an instance with a default ObjectMapper that is created lazily.
    • 方法详细资料

      • parseMap

        public Map<String,​ObjectparseMap​(String json)
        从接口复制的说明: JsonParser
        Parse the specified JSON string into a Map.
        参数:
        json - the JSON to parse
        返回:
        the parsed JSON as a map
      • parseList

        public List<ObjectparseList​(String json)
        从接口复制的说明: JsonParser
        Parse the specified JSON string into a List.
        参数:
        json - the JSON to parse
        返回:
        the parsed JSON as a list