code: public final void addSerializer(@NotNull final SerializedDataType type,
              @NotNull final Serializer serializer) {
  
          Contract.requireArgNotNull("type", type);
          Contract.requireArgNotNull("serializer", serializer);
  
          serMap.put(type, serializer);
  
      }
docs: Adds a new serializer to the registry.
  
  @param type
  Type of the data.
  @param serializer
  Serializer.