C++ rapidjson 对类序列化(完美二次封装)

上传者: zhangy_8023 | 上传时间: 2021-09-23 14:33:02 | 文件大小: 138KB | 文件类型: RAR
本工程源码,基于rapidjson实现二次封装,使C++序列化一个类的变得代码非常小,耦合性非常低,且不损失原有序列化性能。

文件下载

资源详情

[{"title":"( 48 个子文件 138KB ) C++ rapidjson 对类序列化(完美二次封装)","children":[{"title":"PB_RapidJsonHelper","children":[{"title":"stdafx.cpp <span style='color:#111;'> 224B </span>","children":null,"spread":false},{"title":"MyClass.h <span style='color:#111;'> 914B </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 234B </span>","children":null,"spread":false},{"title":"PB_RapidJsonHelper.vcxproj <span style='color:#111;'> 4.33KB </span>","children":null,"spread":false},{"title":"PB_RapidJsonHelper.vcxproj.filters <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"RapidjsonHelper.h <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"PB_RapidJsonHelper.cpp <span style='color:#111;'> 813B </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 236B </span>","children":null,"spread":false},{"title":"PB_RapidJsonHelper.sln <span style='color:#111;'> 981B </span>","children":null,"spread":false},{"title":"RapidjsonHelper.cpp <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"rapidjson","children":[{"title":"document.h <span style='color:#111;'> 112.55KB </span>","children":null,"spread":false},{"title":"reader.h <span style='color:#111;'> 77.44KB </span>","children":null,"spread":false},{"title":"prettywriter.h <span style='color:#111;'> 9.86KB </span>","children":null,"spread":false},{"title":"allocators.h <span style='color:#111;'> 10.07KB </span>","children":null,"spread":false},{"title":"internal","children":[{"title":"strtod.h <span style='color:#111;'> 8.41KB </span>","children":null,"spread":false},{"title":"itoa.h <span style='color:#111;'> 10.06KB </span>","children":null,"spread":false},{"title":"pow10.h <span style='color:#111;'> 3.51KB </span>","children":null,"spread":false},{"title":"strfunc.h <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"regex.h <span style='color:#111;'> 25.13KB </span>","children":null,"spread":false},{"title":"diyfp.h <span style='color:#111;'> 11.24KB </span>","children":null,"spread":false},{"title":"ieee754.h <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"meta.h <span style='color:#111;'> 6.42KB </span>","children":null,"spread":false},{"title":"dtoa.h <span style='color:#111;'> 7.93KB </span>","children":null,"spread":false},{"title":"biginteger.h <span style='color:#111;'> 8.92KB </span>","children":null,"spread":false},{"title":"swap.h <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"stack.h <span style='color:#111;'> 6.90KB </span>","children":null,"spread":false}],"spread":false},{"title":"schema.h <span style='color:#111;'> 78.82KB </span>","children":null,"spread":false},{"title":"fwd.h <span style='color:#111;'> 3.94KB </span>","children":null,"spread":false},{"title":"ostreamwrapper.h <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"encodedstream.h <span style='color:#111;'> 10.43KB </span>","children":null,"spread":false},{"title":"error","children":[{"title":"en.h <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false},{"title":"error.h <span style='color:#111;'> 5.69KB </span>","children":null,"spread":false}],"spread":false},{"title":"encodings.h <span style='color:#111;'> 27.96KB </span>","children":null,"spread":false},{"title":"filereadstream.h <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"memorybuffer.h <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"msinttypes","children":[{"title":"stdint.h <span style='color:#111;'> 9.17KB </span>","children":null,"spread":false},{"title":"inttypes.h <span style='color:#111;'> 8.18KB </span>","children":null,"spread":false}],"spread":false},{"title":"istreamwrapper.h <span style='color:#111;'> 3.51KB </span>","children":null,"spread":false},{"title":"writer.h <span style='color:#111;'> 23.08KB </span>","children":null,"spread":false},{"title":"pointer.h <span style='color:#111;'> 57.19KB </span>","children":null,"spread":false},{"title":"rapidjson.h <span style='color:#111;'> 20.97KB </span>","children":null,"spread":false},{"title":"stream.h <span style='color:#111;'> 5.34KB </span>","children":null,"spread":false},{"title":"memorystream.h <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false},{"title":"stringbuffer.h <span style='color:#111;'> 3.90KB </span>","children":null,"spread":false},{"title":"filewritestream.h <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false}],"spread":false},{"title":"MyClass3.h <span style='color:#111;'> 734B </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"PB_RapidJsonHelper.v12.suo <span style='color:#111;'> 31.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • u011909601 :
    写的啥,太坑人了
    2019-06-24
  • lejianlee :
    C++11,可以进一步封装
    2018-12-21
  • liyalei66 :
    还是很有优化空间的
    2018-07-26

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明