docs: @Override
  	public String toFormatJson(Object obj) {
  		if (obj == null) {
  			return null;
  		}
  		try {
  			return writer.writeValueAsString(obj);
  		}
  		catch (Exception e) {
  			throw new JsonException(e.getMessage(), e);
  		}
  
  	}