C++序列化和反序列化

时间:2022-03-10 19:46:03
【文件属性】:
文件名称:C++序列化和反序列化
文件大小:270KB
文件格式:RAR
更新时间:2022-03-10 19:46:03
c++ ​ 很多人都知道rapidjson这个json库,大家也都知道他的高效,可是你一定也对他的使用方法,函数API接口感受到非常不适应,你一定非常怀念使用java和C#对一个实体类的那么轻松加简单的直接json序列化,本篇博客使用一个RapidJsonHelper类,将帮你实现对一个C++实体类的的序列化和反序列化。rapidjson的版本是1.1。 ​
【文件预览】:
PB_RapidJsonHelper
----ReadMe.txt(2KB)
----rapidjson()
--------istreamwrapper.h(3KB)
--------reader.h(78KB)
--------encodings.h(28KB)
--------allocators.h(10KB)
--------prettywriter.h(9KB)
--------fwd.h(4KB)
--------stringbuffer.h(4KB)
--------ostreamwrapper.h(2KB)
--------filereadstream.h(3KB)
--------memorystream.h(3KB)
--------msinttypes()
--------pointer.h(57KB)
--------writer.h(23KB)
--------document.h(111KB)
--------schema.h(78KB)
--------rapidjson.h(21KB)
--------memorybuffer.h(3KB)
--------stream.h(5KB)
--------filewritestream.h(3KB)
--------error()
--------encodedstream.h(10KB)
--------internal()
----PB_RapidJsonHelper.vcxproj.filters(2KB)
----ipch()
----PB_RapidJsonHelper.suo(17KB)
----rapidjson_old()
--------istreamwrapper.h(4KB)
--------reader.h(77KB)
--------encodings.h(28KB)
--------allocators.h(10KB)
--------prettywriter.h(10KB)
--------fwd.h(4KB)
--------stringbuffer.h(4KB)
--------ostreamwrapper.h(2KB)
--------filereadstream.h(3KB)
--------memorystream.h(3KB)
--------msinttypes()
--------pointer.h(57KB)
--------writer.h(23KB)
--------document.h(113KB)
--------schema.h(79KB)
--------rapidjson.h(21KB)
--------memorybuffer.h(3KB)
--------stream.h(5KB)
--------filewritestream.h(3KB)
--------error()
--------encodedstream.h(10KB)
--------internal()
----stdafx.h(234B)
----RapidjsonHelper.cpp(2KB)
----MyClass3.h(734B)
----Debug()
----stdafx.cpp(224B)
----targetver.h(236B)
----PB_RapidJsonHelper.sln(902B)
----PB_RapidJsonHelper.cpp(858B)
----RapidjsonHelper.h(5KB)
----PB_RapidJsonHelper.v12.suo(31KB)
----MyClass.h(914B)
----PB_RapidJsonHelper.vcxproj(4KB)
----PB_RapidJsonHelper.vcxproj.user(143B)

网友评论