underscore.json:Underscore.js 的 JSON 操作方法

时间:2021-06-22 07:09:39
【文件属性】:
文件名称:underscore.json:Underscore.js 的 JSON 操作方法
文件大小:3KB
文件格式:ZIP
更新时间:2021-06-22 07:09:39
JavaScript Underscore.js 的 JSON 操作方法 获取- 获取(json,选择器) 获取 json 中的值 var json = { some : { nested : "value" } } _ . json . get ( json , "some.nested" ) => "value" 设置- 设置(json,选择器,值) 在 json 中设置一个值 var json = { some : { nested : "value" } } _ . json . set ( json , "some.nested" , "thing" ) => { some : { nested : "thing" } } 删除- 删除(json,选择器) 删除 json 中的值 var json = { some : { nested : "value" } } _ . json .
【文件预览】:
underscore.json-master
----underscore.json.js(6KB)
----README.md(2KB)

网友评论