cjson功能代码的相关实现

上传者: 36209467 | 上传时间: 2021-03-30 14:14:04 | 文件大小: 45KB | 文件类型: ZIP
通过该应用可以实现对配置文件的读取 将读取的信息转化成json格式,可以对其中的某一项,进行修改,添加,删除的操作 当添加的内容已存在,或这删除的内容不存在都会使用标志位保存 将更改后的json格式字符串,保存回源文件 如果json的字符串大小未变化,说明没有更动,则不会变动源文件的内容 设计了专门的函数,来检测添加和删除是否成功

文件下载

资源详情

[{"title":"( 35 个子文件 45KB ) cjson功能代码的相关实现","children":[{"title":".git","children":[{"title":"info","children":[{"title":"exclude <span style='color:#111;'> 240B </span>","children":null,"spread":false}],"spread":true},{"title":"objects","children":[{"title":"pack","children":null,"spread":false},{"title":"info","children":null,"spread":false},{"title":"9e","children":[{"title":"dbb5c839a31ef07aac1f9fd9f35a10c402cfe4 <span style='color:#111;'> 124B </span>","children":null,"spread":false}],"spread":true},{"title":"a5","children":[{"title":"e026e504da599674ddc2033bf0a3f673bbf6f4 <span style='color:#111;'> 3.22KB </span>","children":null,"spread":false},{"title":"5d49609a301786f858d47ff35e12c6b18dd3e7 <span style='color:#111;'> 377B </span>","children":null,"spread":false}],"spread":true},{"title":"01","children":[{"title":"bf0c93f72eb9d20768ffb070e025fa9e59c817 <span style='color:#111;'> 508B </span>","children":null,"spread":false}],"spread":true},{"title":"36","children":[{"title":"3eb208fd78b967f9221c7227b4d8adc82920ac <span style='color:#111;'> 6.33KB </span>","children":null,"spread":false}],"spread":true},{"title":"29","children":[{"title":"3e1de1028cce5627a81cb13439b510fae5896b <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false}],"spread":true},{"title":"ff","children":[{"title":"90274e6bf90518be49090bc4d9269e88c310f9 <span style='color:#111;'> 147B </span>","children":null,"spread":false}],"spread":true},{"title":"3b","children":[{"title":"be98fc722988c92a81c83aec185827c7aa92c2 <span style='color:#111;'> 214B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"HEAD <span style='color:#111;'> 23B </span>","children":null,"spread":false},{"title":"description <span style='color:#111;'> 73B </span>","children":null,"spread":false},{"title":"branches","children":null,"spread":false},{"title":"config <span style='color:#111;'> 92B </span>","children":null,"spread":false},{"title":"index <span style='color:#111;'> 545B </span>","children":null,"spread":false},{"title":"refs","children":[{"title":"tags","children":null,"spread":false},{"title":"heads","children":[{"title":"master <span style='color:#111;'> 41B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"COMMIT_EDITMSG <span style='color:#111;'> 14B </span>","children":null,"spread":false},{"title":"hooks","children":[{"title":"commit-msg.sample <span style='color:#111;'> 896B </span>","children":null,"spread":false},{"title":"pre-receive.sample <span style='color:#111;'> 544B </span>","children":null,"spread":false},{"title":"fsmonitor-watchman.sample <span style='color:#111;'> 3.25KB </span>","children":null,"spread":false},{"title":"pre-rebase.sample <span style='color:#111;'> 4.78KB </span>","children":null,"spread":false},{"title":"prepare-commit-msg.sample <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"update.sample <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false},{"title":"pre-push.sample <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"pre-commit.sample <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"post-update.sample <span style='color:#111;'> 189B </span>","children":null,"spread":false},{"title":"applypatch-msg.sample <span style='color:#111;'> 478B </span>","children":null,"spread":false},{"title":"pre-applypatch.sample <span style='color:#111;'> 424B </span>","children":null,"spread":false}],"spread":false},{"title":"logs","children":[{"title":"HEAD <span style='color:#111;'> 157B </span>","children":null,"spread":false},{"title":"refs","children":[{"title":"heads","children":[{"title":"master <span style='color:#111;'> 157B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":false},{"title":"topo_config.json-all <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 167B </span>","children":null,"spread":false},{"title":".cjson_test.c.swp <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"cjson_test.c <span style='color:#111;'> 10.12KB </span>","children":null,"spread":false},{"title":"cjson_test1.c <span style='color:#111;'> 12.68KB </span>","children":null,"spread":false},{"title":"topo_config.json <span style='color:#111;'> 693B </span>","children":null,"spread":false},{"title":"cjson_test <span style='color:#111;'> 17.81KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

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