必要的JSON
2016-08-23
0 0 0
暂无评分
其他
如何获取积分?
It is a small but powerful JSON library written in Javascript. In order to provide "prototypal chainability", it extend the object prototype to add a new method call "$" which can set/get any properties of a JSON object. The JSON to String and vice versa conversion is very simple.
Features
- Convert JSON into String
- Convert String into JSON
- Support Javascript Native Type: Date, RegExp
- Add a property function called "$" which extends any property into chainable setter/getter function
- 2K in file size
Basic Usage
Convert JSON into String
- Use the JS() method:
- var str={age:15,name:{firstname:"Peter",lastname:"Chan"}}.JS(); ### Convert String into JSON ###
- Use the JSON() method:
- var obj='{age:15,name:{firstname:"Peter",lastname:"Chan"}}'.JSON(); ### Extend the properties of a JSON ###
json
必要
相关源码推荐
workflow
0
0
暂无评分
VB 解析JSON
0
0
暂无评分
c++ TestJson
0
0
暂无评分
新出生的必要信息
1
0
暂无评分
用C实现的JSON解析器
0
0
暂无评分
暂无评论