public class OAuthErrorResponseParser
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static ErrorResponse |
fromJson(int code,
com.fasterxml.jackson.databind.JsonNode jsonNode) |
static ErrorResponse |
fromJson(int code,
java.lang.String json)
Read OAuthErrorResponse from a JSON string.
|
public static ErrorResponse fromJson(int code, java.lang.String json)
json
- a JSON string of an OAuthErrorResponsepublic static ErrorResponse fromJson(int code, com.fasterxml.jackson.databind.JsonNode jsonNode)