【文件属性】:
文件名称:json-extract
文件大小:4KB
文件格式:ZIP
更新时间:2021-07-03 02:20:28
JavaScript
json 提取
将 JSON 结构中的值提取为特定值或数据结构。
例子
var extract = require ( 'json-extract' ) ;
var exampleInput = {
"glossary" : {
"title" : "example glossary" ,
"GlossDiv" : {
"title" : "S" ,
"GlossList" : {
"GlossEntry" : {
"ID" : "SGML" ,
"SortAs" : "SGML" ,
"GlossTerm" : "Standard Generalized Markup Language" ,
"Acronym" : "SGML
【文件预览】:
json-extract-master
----.travis.yml(37B)
----LICENSE(1KB)
----test()
--------main.js(1KB)
----README.md(1KB)
----.gitignore(44B)
----index.js(856B)
----package.json(598B)