1. 首页
  2. 数据库
  3. 其它
  4. jsonplus:支持自我引用和注释的JSON解析器 源码

jsonplus:支持自我引用和注释的JSON解析器 源码

上传者: 2021-02-07 00:25:26上传 ZIP文件 28.24KB 热度 19次
JSONPlus 支持注释和自我引用的JSON解析器 用法 使用npm安装 npm install --save-dev jsonplus 真的很简单 var jsonplus = require ( 'jsonplus' ) ; // Parse like you would with JSON.parse var response = jsonplus . parse ( '{"foo": 5, "bar": "@self.foo"}' ) ; console . log ( response ) ; // { foo: 5, bar: 5 } jsonplus在内部使用JSON.pa
下载地址
用户评论