Class CopilotJacksonUtils

java.lang.Object
com.vaadin.copilot.CopilotJacksonUtils

public class CopilotJacksonUtils extends Object
  • Constructor Details

    • CopilotJacksonUtils

      public CopilotJacksonUtils()
  • Method Details

    • getObjectMapper

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

      public static <T> T readValue(String string, Class<T> clazz)
    • readValue

      public static <T> T readValue(InputStream in, Class<T> clazz)
    • readValue

      public static <T> T readValue(InputStream in, com.fasterxml.jackson.core.type.TypeReference<T> typeReference)
    • writeValueAsString

      public static String writeValueAsString(Object value)
    • readArray

      public static com.fasterxml.jackson.databind.node.ArrayNode readArray(String json)
    • toMap

      public static HashMap<String,String> toMap(com.fasterxml.jackson.databind.JsonNode data)