model/src/main/java/eu/internetofus/common/model/Model.java
/**
   * Convert a model to JSON string.
   *
   * @return the string representation of this model in JSON or {@code null} if it
   *         can not convert it.
   */
Convert a model to JSON string.
@return the string representation of this model in JSON or  null if it
can not convert it.
Convert a model to JSON string . @return the string representation of this model in JSON or null if it can not convert it .
default public String toJsonString() {
    try {
      return Json.encode(this);
    } catch (final Throwable throwable) {
      Logger.trace(throwable);
      return null;
    }
  }
default public String toJsonString ( ) { try { return Json . encode ( this ) ; } catch ( final Throwable throwable ) { Logger . trace ( throwable ) ; return null ; } }
Convert a model to JSON string.
Convert a model to JSON string .