Class ErrorResponseParser
java.lang.Object
org.apache.iceberg.rest.responses.ErrorResponseParser
-
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorResponsefromJson(com.fasterxml.jackson.databind.JsonNode jsonNode) static ErrorResponseRead ErrorResponse from a JSON string.static StringtoJson(ErrorResponse errorResponse) static StringtoJson(ErrorResponse errorResponse, boolean pretty) static voidtoJson(ErrorResponse errorResponse, com.fasterxml.jackson.core.JsonGenerator generator)
-
Method Details
-
toJson
-
toJson
-
toJson
public static void toJson(ErrorResponse errorResponse, com.fasterxml.jackson.core.JsonGenerator generator) throws IOException - Throws:
IOException
-
fromJson
Read ErrorResponse from a JSON string.- Parameters:
json- a JSON string of an ErrorResponse- Returns:
- an ErrorResponse object
-
fromJson
-