code: public String write(Object from) {
      try {
        StringWriter output = new StringWriter();
        write(from, output);
        
        return output.toString();
      } catch (IOException e) {
        throw new RuntimeException(e);
      }
    }
docs: Write an Object into TOML String.
  
  @param from the object to be written
  @return a string containing the TOML representation of the given Object