code: public String toJSONString() {
          if (context.isPretty()) {
              return JSON.toJSONStringWithDateFormat(this, Constant.DATE_SERIALIZE_FORMAT, SerializerFeature.PrettyFormat);
          } else {
              return JSONObject.toJSONStringWithDateFormat(this, Constant.DATE_SERIALIZE_FORMAT);
          }
      }
docs: Standard json formation without data lost.