public <T> void addTypeSerializer(@Nonnull Class<? extends T> type, @Nonnull JsonSerializer<? extends T> serializer) {
		register(type, serializer);
	}
Register a type serializer for application-wide support.

@param type
		Type definition for the type serializer being registered.
		This type must be the exact-intended type. When a subtype is serialized this will not be used.
@param serializer
		Serializer implementation for the given type.
@param <T>
		Type to adapt.

@see GsonBuilder#registerTypeAdapter(Type, Object)
recaf-core/src/main/java/software/coley/recaf/services/json/GsonProvider.java