123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- /*
- * @Description:
- * @Version: 1.0
- * @Autor: lishengyin
- * @Date: 2021-11-09 16:31:01
- * @LastEditors: Your Name lishengyin@sz-sunwin.com
- * @LastEditTime: 2022-09-04 21:27:03
- */
- #ifndef __HTTPNULL_HPP_
- #define __HTTPNULL_HPP_
- #include <iostream>
- using namespace std;
- #include <rapidjson/document.h>
- #include <rapidjson/rapidjson.h>
- #include <rapidjson/stringbuffer.h>
- #include <rapidjson/writer.h>
- class HttpNull
- {
- private:
-
- public:
- HttpNull() {}
- ~HttpNull() {}
- /**
- * @description: json转换为Object
- * @param {Value&} object
- * @return {*}
- */
- bool jsonToObject(const rapidjson::Value& object){
-
- return true;
- }
- void ObjectToJson(rapidjson::Writer<rapidjson::StringBuffer>& writer){
- writer.StartObject();
- writer.EndObject();
- }
- };
- #endif
|