public class ErrorResponseParser
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static ErrorResponse |
fromJson(com.fasterxml.jackson.databind.JsonNode jsonNode) |
static ErrorResponse |
fromJson(java.lang.String json)
Read ErrorResponse from a JSON string.
|
static java.lang.String |
toJson(ErrorResponse errorResponse) |
static java.lang.String |
toJson(ErrorResponse errorResponse,
boolean pretty) |
static void |
toJson(ErrorResponse errorResponse,
com.fasterxml.jackson.core.JsonGenerator generator) |
public static java.lang.String toJson(ErrorResponse errorResponse)
public static java.lang.String toJson(ErrorResponse errorResponse, boolean pretty)
public static void toJson(ErrorResponse errorResponse, com.fasterxml.jackson.core.JsonGenerator generator) throws java.io.IOException
java.io.IOException
public static ErrorResponse fromJson(java.lang.String json)
json
- a JSON string of an ErrorResponsepublic static ErrorResponse fromJson(com.fasterxml.jackson.databind.JsonNode jsonNode)