code: @SuppressWarnings("unchecked")
      public static <E> void serialize(E object, ParameterizedType<E> parameterizedType, OutputStream os) throws IOException {
          mapperFor(parameterizedType).serialize(object, os);
      }
docs: Serialize a parameterized  object to an OutputStream.
  
  @param object The object to serialize.
  @param parameterizedType The ParameterizedType describing the object. Ex: LoganSquare.serialize(object, new ParameterizedType&lt;MyModel&lt;OtherModel&gt;&gt;() { }, os);
  @param os The OutputStream being written to.