code: public <T> void setSerializer (Class<T> type, JsonSerializer<T> serializer) {
  		classToSerializer.put(type, serializer);
  	}
docs: Registers a serializer to use for the specified type instead of the default behavior of serializing all of an objects
  fields.