实例介绍
里面包含json 0.5的源码,以及我自己写的一个练习测试工程,包括读取与输出json文件,相关使用在这篇文章中https://blog.csdn.net/LL596214569/article/details/85221694
【实例截图】
【核心代码】
4744302542879583003.rar
└── jsoncpp
├── bookinfo.json
├── jsoncpp-src-0.5.0
│ ├── AUTHORS
│ ├── build
│ │ └── vs71
│ │ ├── debug
│ │ │ ├── jsontest
│ │ │ │ ├── BuildLog.htm
│ │ │ │ ├── jsontest.exe
│ │ │ │ ├── jsontest.exe.embed.manifest
│ │ │ │ ├── jsontest.exe.embed.manifest.res
│ │ │ │ ├── jsontest.exe.intermediate.manifest
│ │ │ │ ├── jsontest.ilk
│ │ │ │ ├── jsontest.pdb
│ │ │ │ ├── main.obj
│ │ │ │ ├── mt.dep
│ │ │ │ ├── vc90.idb
│ │ │ │ └── vc90.pdb
│ │ │ ├── lib_json
│ │ │ │ ├── BuildLog.htm
│ │ │ │ ├── json_reader.obj
│ │ │ │ ├── json_value.obj
│ │ │ │ ├── json_vc71_libmtd.lib
│ │ │ │ ├── json_writer.obj
│ │ │ │ ├── vc90.idb
│ │ │ │ └── vc90.pdb
│ │ │ └── test_lib_json
│ │ │ ├── BuildLog.htm
│ │ │ ├── jsontest.obj
│ │ │ ├── main.obj
│ │ │ ├── mt.dep
│ │ │ ├── test_lib_json.exe
│ │ │ ├── test_lib_json.exe.embed.manifest
│ │ │ ├── test_lib_json.exe.embed.manifest.res
│ │ │ ├── test_lib_json.exe.intermediate.manifest
│ │ │ ├── test_lib_json.ilk
│ │ │ ├── test_lib_json.pdb
│ │ │ ├── vc90.idb
│ │ │ └── vc90.pdb
│ │ └── release
│ │ ├── jsontest
│ │ │ ├── jsontest.exe
│ │ │ ├── jsontest.log
│ │ │ ├── jsontest.pdb
│ │ │ ├── jsontest.tlog
│ │ │ │ ├── CL.command.1.tlog
│ │ │ │ ├── CL.read.1.tlog
│ │ │ │ ├── CL.write.1.tlog
│ │ │ │ ├── jsontest.lastbuildstate
│ │ │ │ ├── link.command.1.tlog
│ │ │ │ ├── link.read.1.tlog
│ │ │ │ └── link.write.1.tlog
│ │ │ ├── main.obj
│ │ │ └── vc140.pdb
│ │ ├── lib_json
│ │ │ ├── BuildLog.htm
│ │ │ ├── json_reader.asm
│ │ │ ├── json_reader.obj
│ │ │ ├── json_value.asm
│ │ │ ├── json_value.obj
│ │ │ ├── json_vc71_libmt.lib
│ │ │ ├── json_writer.asm
│ │ │ ├── json_writer.obj
│ │ │ ├── lib_json.Build.CppClean.log
│ │ │ ├── lib_json.log
│ │ │ ├── lib_json.pdb
│ │ │ └── lib_json.tlog
│ │ │ ├── CL.command.1.tlog
│ │ │ ├── CL.read.1.tlog
│ │ │ ├── CL.write.1.tlog
│ │ │ ├── lib.command.1.tlog
│ │ │ ├── lib_json.lastbuildstate
│ │ │ ├── Lib-link.read.1.tlog
│ │ │ └── Lib-link.write.1.tlog
│ │ └── test_lib_json
│ │ ├── jsontest.obj
│ │ ├── main.obj
│ │ ├── test_lib_json.exe
│ │ ├── test_lib_json.log
│ │ ├── test_lib_json.pdb
│ │ ├── test_lib_json.tlog
│ │ │ ├── CL.command.1.tlog
│ │ │ ├── CL.read.1.tlog
│ │ │ ├── CL.write.1.tlog
│ │ │ ├── link.command.1.tlog
│ │ │ ├── link.read.1.tlog
│ │ │ ├── link.write.1.tlog
│ │ │ └── test_lib_json.lastbuildstate
│ │ └── vc140.pdb
│ ├── devtools
│ │ ├── antglob.py
│ │ ├── fixeol.py
│ │ ├── __init__.py
│ │ └── tarball.py
│ ├── doc
│ │ ├── doxyfile.in
│ │ ├── footer.html
│ │ ├── header.html
│ │ ├── jsoncpp.dox
│ │ ├── readme.txt
│ │ └── roadmap.dox
│ ├── doxybuild.py
│ ├── include
│ │ └── json
│ │ ├── autolink.h
│ │ ├── config.h
│ │ ├── features.h
│ │ ├── forwards.h
│ │ ├── json.h
│ │ ├── reader.h
│ │ ├── value.h
│ │ └── writer.h
│ ├── LICENSE
│ ├── makefiles
│ │ └── vs71
│ │ ├── Backup
│ │ │ └── jsoncpp.sln
│ │ ├── jsoncpp.ncb
│ │ ├── jsoncpp.sln
│ │ ├── jsoncpp.sln.old
│ │ ├── jsoncpp.suo
│ │ ├── jsoncpp.VC.db
│ │ ├── jsontest.vcproj
│ │ ├── jsontest.vcproj.7.10.old
│ │ ├── jsontest.vcproj.PC-LL.hp.user
│ │ ├── jsontest.vcxproj
│ │ ├── lib_json.vcproj
│ │ ├── lib_json.vcproj.7.10.old
│ │ ├── lib_json.vcproj.PC-LL.hp.user
│ │ ├── lib_json.vcxproj
│ │ ├── test_lib_json.vcproj
│ │ ├── test_lib_json.vcproj.7.10.old
│ │ ├── test_lib_json.vcproj.PC-LL.hp.user
│ │ ├── test_lib_json.vcxproj
│ │ ├── UpgradeLog.htm
│ │ ├── UpgradeLog.XML
│ │ ├── _UpgradeReport_Files
│ │ │ ├── UpgradeReport.css
│ │ │ ├── UpgradeReport_Minus.gif
│ │ │ ├── UpgradeReport_Plus.gif
│ │ │ └── UpgradeReport.xslt
│ │ └── x64
│ │ └── Debug
│ │ ├── json_reader.obj
│ │ ├── jsontest.Build.CppClean.log
│ │ ├── jsontest.exe
│ │ ├── jsontest.ilk
│ │ ├── jsontest.log
│ │ ├── jsontest.obj
│ │ ├── jsontest.pdb
│ │ ├── jsontest.tlog
│ │ │ ├── CL.command.1.tlog
│ │ │ ├── CL.read.1.tlog
│ │ │ ├── CL.write.1.tlog
│ │ │ ├── jsontest.lastbuildstate
│ │ │ ├── link.command.1.tlog
│ │ │ ├── link.read.1.tlog
│ │ │ └── link.write.1.tlog
│ │ ├── json_value.obj
│ │ ├── json_vc71_libmtd.lib
│ │ ├── json_writer.obj
│ │ ├── lib_json.log
│ │ ├── lib_json.pdb
│ │ ├── lib_json.tlog
│ │ │ ├── CL.command.1.tlog
│ │ │ ├── CL.read.1.tlog
│ │ │ ├── CL.write.1.tlog
│ │ │ ├── lib.command.1.tlog
│ │ │ ├── lib_json.lastbuildstate
│ │ │ ├── Lib-link.read.1.tlog
│ │ │ └── Lib-link.write.1.tlog
│ │ ├── main.obj
│ │ ├── test_lib_json.exe
│ │ ├── test_lib_json.ilk
│ │ ├── test_lib_json.log
│ │ ├── test_lib_json.pdb
│ │ ├── test_lib_json.tlog
│ │ │ ├── CL.command.1.tlog
│ │ │ ├── CL.read.1.tlog
│ │ │ ├── CL.write.1.tlog
│ │ │ ├── link.command.1.tlog
│ │ │ ├── link.read.1.tlog
│ │ │ ├── link.write.1.tlog
│ │ │ └── test_lib_json.lastbuildstate
│ │ └── vc140.pdb
│ ├── makerelease.py
│ ├── README.txt
│ ├── scons-tools
│ │ ├── globtool.py
│ │ ├── srcdist.py
│ │ ├── substinfile.py
│ │ └── targz.py
│ ├── SConstruct
│ ├── src
│ │ ├── jsontestrunner
│ │ │ ├── main.cpp
│ │ │ └── sconscript
│ │ ├── lib_json
│ │ │ ├── json_batchallocator.h
│ │ │ ├── json_internalarray.inl
│ │ │ ├── json_internalmap.inl
│ │ │ ├── json_reader.cpp
│ │ │ ├── json_value.cpp
│ │ │ ├── json_valueiterator.inl
│ │ │ ├── json_writer.cpp
│ │ │ └── sconscript
│ │ └── test_lib_json
│ │ ├── jsontest.cpp
│ │ ├── jsontest.h
│ │ ├── main.cpp
│ │ └── sconscript
│ ├── test
│ │ ├── cleantests.py
│ │ ├── data
│ │ │ ├── test_array_01.expected
│ │ │ ├── test_array_01.json
│ │ │ ├── test_array_02.expected
│ │ │ ├── test_array_02.json
│ │ │ ├── test_array_03.expected
│ │ │ ├── test_array_03.json
│ │ │ ├── test_array_04.expected
│ │ │ ├── test_array_04.json
│ │ │ ├── test_array_05.expected
│ │ │ ├── test_array_05.json
│ │ │ ├── test_array_06.expected
│ │ │ ├── test_array_06.json
│ │ │ ├── test_basic_01.expected
│ │ │ ├── test_basic_01.json
│ │ │ ├── test_basic_02.expected
│ │ │ ├── test_basic_02.json
│ │ │ ├── test_basic_03.expected
│ │ │ ├── test_basic_03.json
│ │ │ ├── test_basic_04.expected
│ │ │ ├── test_basic_04.json
│ │ │ ├── test_basic_05.expected
│ │ │ ├── test_basic_05.json
│ │ │ ├── test_basic_06.expected
│ │ │ ├── test_basic_06.json
│ │ │ ├── test_basic_07.expected
│ │ │ ├── test_basic_07.json
│ │ │ ├── test_basic_08.expected
│ │ │ ├── test_basic_08.json
│ │ │ ├── test_basic_09.expected
│ │ │ ├── test_basic_09.json
│ │ │ ├── test_comment_01.expected
│ │ │ ├── test_comment_01.json
│ │ │ ├── test_complex_01.expected
│ │ │ ├── test_complex_01.json
│ │ │ ├── test_integer_01.expected
│ │ │ ├── test_integer_01.json
│ │ │ ├── test_integer_02.expected
│ │ │ ├── test_integer_02.json
│ │ │ ├── test_integer_03.expected
│ │ │ ├── test_integer_03.json
│ │ │ ├── test_integer_04.expected
│ │ │ ├── test_integer_04.json
│ │ │ ├── test_integer_05.expected
│ │ │ ├── test_integer_05.json
│ │ │ ├── test_large_01.expected
│ │ │ ├── test_large_01.json
│ │ │ ├── test_object_01.expected
│ │ │ ├── test_object_01.json
│ │ │ ├── test_object_02.expected
│ │ │ ├── test_object_02.json
│ │ │ ├── test_object_03.expected
│ │ │ ├── test_object_03.json
│ │ │ ├── test_object_04.expected
│ │ │ ├── test_object_04.json
│ │ │ ├── test_preserve_comment_01.expected
│ │ │ ├── test_preserve_comment_01.json
│ │ │ ├── test_real_01.expected
│ │ │ ├── test_real_01.json
│ │ │ ├── test_real_02.expected
│ │ │ ├── test_real_02.json
│ │ │ ├── test_real_03.expected
│ │ │ ├── test_real_03.json
│ │ │ ├── test_real_04.expected
│ │ │ ├── test_real_04.json
│ │ │ ├── test_real_05.expected
│ │ │ ├── test_real_05.json
│ │ │ ├── test_real_06.expected
│ │ │ ├── test_real_06.json
│ │ │ ├── test_real_07.expected
│ │ │ ├── test_real_07.json
│ │ │ ├── test_string_01.expected
│ │ │ ├── test_string_01.json
│ │ │ ├── test_string_02.expected
│ │ │ ├── test_string_02.json
│ │ │ ├── test_string_unicode_01.expected
│ │ │ ├── test_string_unicode_01.json
│ │ │ ├── test_string_unicode_02.expected
│ │ │ ├── test_string_unicode_02.json
│ │ │ ├── test_string_unicode_03.expected
│ │ │ ├── test_string_unicode_03.json
│ │ │ ├── test_string_unicode_04.expected
│ │ │ ├── test_string_unicode_04.json
│ │ │ ├── test_string_unicode_05.expected
│ │ │ └── test_string_unicode_05.json
│ │ ├── generate_expected.py
│ │ ├── jsonchecker
│ │ │ ├── fail10.json
│ │ │ ├── fail11.json
│ │ │ ├── fail12.json
│ │ │ ├── fail13.json
│ │ │ ├── fail14.json
│ │ │ ├── fail15.json
│ │ │ ├── fail16.json
│ │ │ ├── fail17.json
│ │ │ ├── fail18.json
│ │ │ ├── fail19.json
│ │ │ ├── fail1.json
│ │ │ ├── fail20.json
│ │ │ ├── fail21.json
│ │ │ ├── fail22.json
│ │ │ ├── fail23.json
│ │ │ ├── fail24.json
│ │ │ ├── fail25.json
│ │ │ ├── fail26.json
│ │ │ ├── fail27.json
│ │ │ ├── fail28.json
│ │ │ ├── fail29.json
│ │ │ ├── fail2.json
│ │ │ ├── fail30.json
│ │ │ ├── fail31.json
│ │ │ ├── fail32.json
│ │ │ ├── fail33.json
│ │ │ ├── fail3.json
│ │ │ ├── fail4.json
│ │ │ ├── fail5.json
│ │ │ ├── fail6.json
│ │ │ ├── fail7.json
│ │ │ ├── fail8.json
│ │ │ ├── fail9.json
│ │ │ ├── pass1.json
│ │ │ ├── pass2.json
│ │ │ ├── pass3.json
│ │ │ └── readme.txt
│ │ ├── pyjsontestrunner.py
│ │ ├── runjsontests.py
│ │ └── rununittests.py
│ └── version
└── jsonpractice
├── Debug
│ └── jsonpractice.pdb
├── ipch
│ └── JSONPRACTICE-85f2debc
│ ├── JSONPRACTICE-7d7d071.ipch
│ └── JSONPRACTICE-8398190f.ipch
├── jsonpractice
│ ├── bookinfo.json
│ ├── Debug
│ │ ├── jsonpractice.Build.CppClean.log
│ │ ├── jsonpractice.log
│ │ ├── jsonpractice.obj
│ │ ├── jsonpractice.pch
│ │ ├── jsonpractice.tlog
│ │ │ ├── CL.command.1.tlog
│ │ │ ├── CL.read.1.tlog
│ │ │ ├── CL.write.1.tlog
│ │ │ ├── jsonpractice.lastbuildstate
│ │ │ ├── link.command.1.tlog
│ │ │ ├── link-cvtres.read.1.tlog
│ │ │ ├── link-cvtres.write.1.tlog
│ │ │ ├── link-rc.read.1.tlog
│ │ │ ├── link-rc.write.1.tlog
│ │ │ ├── link.read.1.tlog
│ │ │ ├── link.write.1.tlog
│ │ │ └── unsuccessfulbuild
│ │ ├── stdafx.obj
│ │ ├── vc140.idb
│ │ └── vc140.pdb
│ ├── include
│ │ └── json
│ │ ├── autolink.h
│ │ ├── config.h
│ │ ├── features.h
│ │ ├── forwards.h
│ │ ├── json.h
│ │ ├── reader.h
│ │ ├── value.h
│ │ └── writer.h
│ ├── jsonpractice.cpp
│ ├── jsonpractice.vcxproj
│ ├── jsonpractice.vcxproj.filters
│ ├── jsonpractice.vcxproj.user
│ ├── lib
│ │ └── json_vc71_libmtd.lib
│ ├── ReadMe.txt
│ ├── stdafx.cpp
│ ├── stdafx.h
│ ├── targetver.h
│ └── x64
│ └── Debug
│ ├── jsonpractice.log
│ ├── jsonpractice.obj
│ ├── jsonpractice.pch
│ ├── jsonpractice.tlog
│ │ ├── CL.command.1.tlog
│ │ ├── CL.read.1.tlog
│ │ ├── CL.write.1.tlog
│ │ ├── jsonpractice.lastbuildstate
│ │ ├── link.command.1.tlog
│ │ ├── link.read.1.tlog
│ │ └── link.write.1.tlog
│ ├── stdafx.obj
│ ├── vc140.idb
│ └── vc140.pdb
├── jsonpractice.sln
├── jsonpractice.VC.db
└── x64
└── Debug
├── jsonpractice.exe
├── jsonpractice.ilk
└── jsonpractice.pdb
51 directories, 364 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论