Class ErrorResponseParser

java.lang.Object
org.apache.iceberg.rest.responses.ErrorResponseParser

public class ErrorResponseParser extends Object
  • Method Details

    • toJson

      public static String toJson(ErrorResponse errorResponse)
    • toJson

      public static String toJson(ErrorResponse errorResponse, boolean pretty)
    • toJson

      public static void toJson(ErrorResponse errorResponse, com.fasterxml.jackson.core.JsonGenerator generator) throws IOException
      Throws:
      IOException
    • fromJson

      public static ErrorResponse fromJson(String json)
      Read ErrorResponse from a JSON string.
      Parameters:
      json - a JSON string of an ErrorResponse
      Returns:
      an ErrorResponse object
    • fromJson

      public static ErrorResponse fromJson(com.fasterxml.jackson.databind.JsonNode jsonNode)