json-utils:提供JSON相关的各类工具方法,比如schema转json、json转schema、json元数据分析等

上传者: 42140846 | 上传时间: 2024-06-30 17:39:13 | 文件大小: 96KB | 文件类型: ZIP
json-utils 提供JSON相关的各类工具方法,比如schema转json、json转schema、json元数据分析等 json: JSON(JavaScript Object Notation, JS对象简谱) 是一种轻量级的数据交换格式。 schema: 一般用来描述JSON的数据格式,常用于json数据格式的校验。() json工具集合 / json工具方法清单 7个通用的json工具方法 getJsonDataByKeyRoute(): 根据key值路径获取对应的json数值对象(比如用于获取json数据中'data-user-name'对应的数据) getSchemaByIndexRoute(): 根据index索引路径获取对应的schema数据对象(比如通过'2-1'获取schema中第3个子对象中的第2个字段对应的数据) indexRoute2keyRoute():

文件下载

资源详情

[{"title":"( 76 个子文件 96KB ) json-utils:提供JSON相关的各类工具方法,比如schema转json、json转schema、json元数据分析等","children":[{"title":"json-utils-master","children":[{"title":".gitignore <span style='color:#111;'> 172B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"commitlint.config.js <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main.js <span style='color:#111;'> 3.62KB </span>","children":null,"spread":false},{"title":"data","children":[{"title":"TypeDataList.js <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"initSchemaEntity","children":[{"title":"DataSource.js <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false},{"title":"Event.js <span style='color:#111;'> 3.23KB </span>","children":null,"spread":false},{"title":"Number.js <span style='color:#111;'> 818B </span>","children":null,"spread":false},{"title":"TextEditor.js <span style='color:#111;'> 730B </span>","children":null,"spread":false},{"title":"Boolean.js <span style='color:#111;'> 688B </span>","children":null,"spread":false},{"title":"Quantity.js <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"IMG.js <span style='color:#111;'> 594B </span>","children":null,"spread":false},{"title":"CodeArea.js <span style='color:#111;'> 821B </span>","children":null,"spread":false},{"title":"EmptyObject.js <span style='color:#111;'> 160B </span>","children":null,"spread":false},{"title":"Color.js <span style='color:#111;'> 658B </span>","children":null,"spread":false},{"title":"JSONSchema.js <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"Widget.js <span style='color:#111;'> 754B </span>","children":null,"spread":false},{"title":"Input.js <span style='color:#111;'> 718B </span>","children":null,"spread":false},{"title":"Date.js <span style='color:#111;'> 713B </span>","children":null,"spread":false},{"title":"Select.js <span style='color:#111;'> 759B </span>","children":null,"spread":false},{"title":"Radio.js <span style='color:#111;'> 757B </span>","children":null,"spread":false},{"title":"HtmlArea.js <span style='color:#111;'> 780B </span>","children":null,"spread":false},{"title":"Textarea.js <span style='color:#111;'> 730B </span>","children":null,"spread":false},{"title":"DynamicData.js <span style='color:#111;'> 4.17KB </span>","children":null,"spread":false},{"title":"Json.js <span style='color:#111;'> 680B </span>","children":null,"spread":false},{"title":"DateTime.js <span style='color:#111;'> 728B </span>","children":null,"spread":false},{"title":"FuncBody.js <span style='color:#111;'> 784B </span>","children":null,"spread":false},{"title":"URL.js <span style='color:#111;'> 715B </span>","children":null,"spread":false},{"title":"Object.js <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"SingleSelect.js <span style='color:#111;'> 791B </span>","children":null,"spread":false},{"title":"EmptyArray.js <span style='color:#111;'> 261B </span>","children":null,"spread":false},{"title":"BoxStyle.js <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"Time.js <span style='color:#111;'> 713B </span>","children":null,"spread":false},{"title":"Array.js <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false}],"spread":false},{"title":"KeyWordList.js <span style='color:#111;'> 467B </span>","children":null,"spread":false}],"spread":true},{"title":"assets","children":[{"title":"css","children":[{"title":"common.scss <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"mixin.scss <span style='color:#111;'> 814B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"index.js <span style='color:#111;'> 38.68KB </span>","children":null,"spread":false},{"title":"utils","children":[{"title":"jsonSchema.js <span style='color:#111;'> 8.18KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 690B </span>","children":null,"spread":false},{"title":"typeof.js <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false},{"title":"jsonData.js <span style='color:#111;'> 417B </span>","children":null,"spread":false}],"spread":true},{"title":"function","children":[{"title":"getJsonDataByKeyRoute.js <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"getSchemaByIndexRoute.js <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"schemaMetaList.js <span style='color:#111;'> 462B </span>","children":null,"spread":false},{"title":"indexRoute2keyRoute.js <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"dynamicDataAnalyzer.js <span style='color:#111;'> 3.20KB </span>","children":null,"spread":false},{"title":"schema2json.js <span style='color:#111;'> 10.10KB </span>","children":null,"spread":false},{"title":"json2treeData.js <span style='color:#111;'> 2.38KB </span>","children":null,"spread":false},{"title":"json2schema.js <span style='color:#111;'> 5.67KB </span>","children":null,"spread":false},{"title":"metaElemAnalyzer.js <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"oldSchemaToNewSchema.js <span style='color:#111;'> 5.45KB </span>","children":null,"spread":false}],"spread":true},{"title":"index.html <span style='color:#111;'> 613B </span>","children":null,"spread":false},{"title":"index.scss <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false}],"spread":true},{"title":"dist","children":[{"title":"index.esm.min.js <span style='color:#111;'> 20.55KB </span>","children":null,"spread":false},{"title":"index.esm.js <span style='color:#111;'> 74.18KB </span>","children":null,"spread":false},{"title":"index.umd.js <span style='color:#111;'> 23.17KB </span>","children":null,"spread":false}],"spread":true},{"title":".prettierrc.js <span style='color:#111;'> 535B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 4.24KB </span>","children":null,"spread":false},{"title":"akfun.config.js <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"docs","children":[{"title":"getJsonDataByKeyRoute.md <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"indexRoute2keyRoute.md <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false},{"title":"getSchemaByIndexRoute.md <span style='color:#111;'> 3.22KB </span>","children":null,"spread":false},{"title":"json2treeData.md <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"json2schema.md <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"schema2json.md <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"metaElemAnalyzer.md <span style='color:#111;'> 10.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"data","children":[{"title":"post-dynamic-analyzer.js <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false},{"title":"new-jsonSchema.js <span style='color:#111;'> 20.51KB </span>","children":null,"spread":false},{"title":"old-jsonSchema.js <span style='color:#111;'> 11.03KB </span>","children":null,"spread":false},{"title":"dynamic-jsonData.js <span style='color:#111;'> 3.99KB </span>","children":null,"spread":false}],"spread":true},{"title":"console2file.js <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"demo.js <span style='color:#111;'> 24.58KB </span>","children":null,"spread":false},{"title":"jsonData.json <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false}],"spread":true},{"title":".editorconfig <span style='color:#111;'> 168B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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