class RowJsonDeserializer extends StdDeserializer<Row> {

  public static RowJsonDeserializer forSchema(Schema schema) {
    schema.getFields().forEach(RowJsonValidation::verifyFieldTypeSupported);
    return new RowJsonDeserializer(schema);
  }

  private  RowJsonDeserializer(Schema schema);

}