Class JsonUtil

java.lang.Object
com.dabsquared.gitlabjenkins.util.JsonUtil

public final class JsonUtil extends Object
Author:
Robin Müller
  • Method Details

    • toPrettyPrint

      public static String toPrettyPrint(String json)
    • toPrettyPrint

      public static String toPrettyPrint(Object obj)
    • readTree

      public static com.fasterxml.jackson.databind.JsonNode readTree(String json)
    • read

      public static <T> T read(String json, Class<T> type)
    • read

      public static <T> T read(com.fasterxml.jackson.databind.JsonNode json, Class<T> type)