Class JsonConverter

java.lang.Object
io.jenkins.blueocean.commons.JsonConverter

public class JsonConverter extends Object
Author:
Vivek Pandey
  • Field Details

    • DATE_FORMAT_STRING

      public static final String DATE_FORMAT_STRING
      See Also:
    • om

      public static final com.fasterxml.jackson.databind.ObjectMapper om
  • Constructor Details

    • JsonConverter

      public JsonConverter()
  • Method Details

    • toJava

      public static <T> T toJava(String data, Class<T> type)
    • toJava

      public static <T> T toJava(InputStream data, Class<T> type)
    • toJava

      public static <T> T toJava(Reader data, Class<T> type)
    • toJson

      public static String toJson(Object value)