model/src/main/java/eu/internetofus/common/model/Model.java
/**
   * Convert this model to a buffer.
   *
   * @return the buffer that contains the JSON encoding of this model or
   *         {@code null} if can not convert it.
   */
Convert this model to a buffer.
@return the buffer that contains the JSON encoding of this model or
null if can not convert it.
Convert this model to a buffer . @return the buffer that contains the JSON encoding of this model or null if can not convert it .
default public Buffer toBuffer() {
    try {
      return Json.encodeToBuffer(this);
    } catch (final Throwable throwable) {
      Logger.trace(throwable);
      return null;
    }
  }
default public Buffer toBuffer ( ) { try { return Json . encodeToBuffer ( this ) ; } catch ( final Throwable throwable ) { Logger . trace ( throwable ) ; return null ; } }
Convert this model to a buffer.
Convert this model to a buffer .