code: @SuppressWarnings({ "unchecked" })
      @Override
      public void serializeObject(HashGenericRecord rec, String fieldName, String typeName, Object obj) {
          if (obj == null) {
              return;
          }
  
          getSerializer(typeName).serialize(obj, rec);
      }
docs: /*
  @Deprecated instead use serializeObject(HashGenericRecord rec, String fieldName, Object obj)