public String write(Object from) {
    try {
      StringWriter output = new StringWriter();
      write(from, output);
      
      return output.toString();
    } catch (IOException e) {
      throw new RuntimeException(e);
    }
  }
public String write ( Object from ) { try { StringWriter output = new StringWriter ( ) ; write ( from , output ) ; return output . toString ( ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } }
Write an Object into TOML String.

@param from the object to be written
@return a string containing the TOML representation of the given Object