code: public static String toPrettyJson(Object object){
  		try {			
  			return getMapper().writerWithDefaultPrettyPrinter().writeValueAsString(object);
  		} catch (Exception e) {
  			throw new RuntimeException(e);
  		}
  	}
docs: 转换成格式化的json字符串
  @param object
  @return