Class Json
java.lang.Object
com.sportradar.mbs.sdk.internal.utils.Json
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic AuthResponsestatic RequestdeserializeRequest(String json) static ResponsedeserializeResponse(String json) static StringserializeRequest(Request request) static StringserializeResponse(Response response)  
- 
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
 
 -