Class ErrorResponseParser
java.lang.Object
org.apache.iceberg.rest.responses.ErrorResponseParser
-
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorResponse
fromJson
(com.fasterxml.jackson.databind.JsonNode jsonNode) static ErrorResponse
Read ErrorResponse from a JSON string.static String
toJson
(ErrorResponse errorResponse) static String
toJson
(ErrorResponse errorResponse, boolean pretty) static void
toJson
(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
-