code: public final void add(@NotNull final SerializedDataType type, final String contentType,
              @NotNull final SerDeserializer serDeserializer) {
  
          this.addSerializer(type, serDeserializer);
          this.addDeserializer(type, contentType, serDeserializer);
  
      }
docs: Convenience method that adds both, a new serializer and deserializer to the registry.
  
  @param type
  Type of the data.
  @param contentType
  Content type like "application/xml" or "application/json" (without parameters - Only base
  type).
  @param serDeserializer
  Serializer and deserializer.