class JsonToRow {

  public static PTransform<PCollection<String>, PCollection<Row>> withSchemaAndNullBehavior(
      Schema rowSchema, NullBehavior nullBehavior) {
    RowJson.verifySchemaSupported(rowSchema);
    return new JsonToRowFn(rowSchema, nullBehavior);
  }

}