java.lang.Object
com.sportradar.mbs.sdk.internal.utils.Json

public class Json extends Object
  • Constructor Details

    • Json

      public Json()
  • Method Details

    • serializeRequest

      public static String serializeRequest(Request request) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • serializeResponse

      public static String serializeResponse(Response response) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • deserializeRequest

      public static Request deserializeRequest(String json) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • deserializeResponse

      public static Response deserializeResponse(String json) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • deserializeAuthResponse

      public static AuthResponse deserializeAuthResponse(String json) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException