C++结构体和json/xml之间互相转换

上传者: zhaoxueting12 | 上传时间: 2021-02-09 14:05:26 | 文件大小: 234KB | 文件类型: ZIP
用于在C++结构体和json/xml之间互相转换, bson在xbson中支持。 只需要头文件, 无需编译库文件。 具体可以参考example的例子

文件下载

资源详情

[{"title":"( 78 个子文件 234KB ) C++结构体和json/xml之间互相转换","children":[{"title":"xpack-master","children":[{"title":"xml_encoder.h <span style='color:#111;'> 8.80KB </span>","children":null,"spread":false},{"title":"xtype.h <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"extend.h <span style='color:#111;'> 3.29KB </span>","children":null,"spread":false},{"title":"xencoder.h <span style='color:#111;'> 8.10KB </span>","children":null,"spread":false},{"title":"json_encoder.h <span style='color:#111;'> 5.77KB </span>","children":null,"spread":false},{"title":"xdecoder.h <span style='color:#111;'> 9.16KB </span>","children":null,"spread":false},{"title":"config.h <span style='color:#111;'> 786B </span>","children":null,"spread":false},{"title":"rapidjson_custom.h <span style='color:#111;'> 499B </span>","children":null,"spread":false},{"title":"gtest","children":[{"title":"test.json <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"test.cpp <span style='color:#111;'> 8.22KB </span>","children":null,"spread":false},{"title":"test.xml <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false},{"title":"msvc.make <span style='color:#111;'> 246B </span>","children":null,"spread":false},{"title":"makefile <span style='color:#111;'> 419B </span>","children":null,"spread":false}],"spread":true},{"title":"numeric.h <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"xpack.pri <span style='color:#111;'> 68B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 8.62KB </span>","children":null,"spread":false},{"title":"xml_decoder.h <span style='color:#111;'> 8.74KB </span>","children":null,"spread":false},{"title":"json.h <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"example","children":[{"title":"base.cpp <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"alias.cpp <span style='color:#111;'> 961B </span>","children":null,"spread":false},{"title":"enum.cpp <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false},{"title":"build_json.cpp <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"bitfield.cpp <span style='color:#111;'> 1021B </span>","children":null,"spread":false},{"title":"inherit.cpp <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"my_encoder.cpp <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"msvc.make <span style='color:#111;'> 240B </span>","children":null,"spread":false},{"title":"xpack_out.cpp <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"makefile <span style='color:#111;'> 254B </span>","children":null,"spread":false},{"title":"char_array.cpp <span style='color:#111;'> 1009B </span>","children":null,"spread":false},{"title":"xtype.cpp <span style='color:#111;'> 3.03KB </span>","children":null,"spread":false}],"spread":false},{"title":"traits.h <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"l1l2_expand.h <span style='color:#111;'> 47.96KB </span>","children":null,"spread":false},{"title":"util.h <span style='color:#111;'> 4.07KB </span>","children":null,"spread":false},{"title":"thirdparty","children":[{"title":"rapidjson","children":[{"title":"istreamwrapper.h <span style='color:#111;'> 3.97KB </span>","children":null,"spread":false},{"title":"reader.h <span style='color:#111;'> 90.97KB </span>","children":null,"spread":false},{"title":"cursorstreamwrapper.h <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"encodings.h <span style='color:#111;'> 28.59KB </span>","children":null,"spread":false},{"title":"allocators.h <span style='color:#111;'> 10.42KB </span>","children":null,"spread":false},{"title":"prettywriter.h <span style='color:#111;'> 10.26KB </span>","children":null,"spread":false},{"title":"fwd.h <span style='color:#111;'> 3.94KB </span>","children":null,"spread":false},{"title":"stringbuffer.h <span style='color:#111;'> 3.90KB </span>","children":null,"spread":false},{"title":"ostreamwrapper.h <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"filereadstream.h <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false},{"title":"memorystream.h <span style='color:#111;'> 2.60KB </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":"pointer.h <span style='color:#111;'> 59.35KB </span>","children":null,"spread":false},{"title":"writer.h <span style='color:#111;'> 26.26KB </span>","children":null,"spread":false},{"title":"document.h <span style='color:#111;'> 115.31KB </span>","children":null,"spread":false},{"title":"schema.h <span style='color:#111;'> 101.25KB </span>","children":null,"spread":false},{"title":"rapidjson.h <span style='color:#111;'> 22.64KB </span>","children":null,"spread":false},{"title":"memorybuffer.h <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"stream.h <span style='color:#111;'> 6.59KB </span>","children":null,"spread":false},{"title":"filewritestream.h <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false},{"title":"error","children":[{"title":"error.h <span style='color:#111;'> 6.07KB </span>","children":null,"spread":false},{"title":"en.h <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false}],"spread":false},{"title":"encodedstream.h <span style='color:#111;'> 10.43KB </span>","children":null,"spread":false},{"title":"internal","children":[{"title":"stack.h <span style='color:#111;'> 7.02KB </span>","children":null,"spread":false},{"title":"biginteger.h <span style='color:#111;'> 8.92KB </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.49KB </span>","children":null,"spread":false},{"title":"strfunc.h <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"diyfp.h <span style='color:#111;'> 11.71KB </span>","children":null,"spread":false},{"title":"pow10.h <span style='color:#111;'> 3.51KB </span>","children":null,"spread":false},{"title":"regex.h <span style='color:#111;'> 25.48KB </span>","children":null,"spread":false},{"title":"strtod.h <span style='color:#111;'> 8.78KB </span>","children":null,"spread":false},{"title":"itoa.h <span style='color:#111;'> 9.89KB </span>","children":null,"spread":false},{"title":"dtoa.h <span style='color:#111;'> 7.93KB </span>","children":null,"spread":false},{"title":"swap.h <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"rapidxml","children":[{"title":"rapidxml_iterators.hpp <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"license.txt <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":"manual.html <span style='color:#111;'> 110.84KB </span>","children":null,"spread":false},{"title":"rapidxml.hpp <span style='color:#111;'> 118.10KB </span>","children":null,"spread":false},{"title":"rapidxml_print.hpp <span style='color:#111;'> 15.71KB </span>","children":null,"spread":false},{"title":"rapidxml_utils.hpp <span style='color:#111;'> 3.46KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"json_decoder.h <span style='color:#111;'> 8.79KB </span>","children":null,"spread":false},{"title":"xpack.h <span style='color:#111;'> 8.36KB </span>","children":null,"spread":false},{"title":"xml.h <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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