jquery-json
- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/Krinkle/jquery-json
- 软件文档: https://github.com/Krinkle/jquery-json
软件介绍
Jquery-json 是 jQuery 的一个插件,可轻松实现对象和 JSON 字符串之间的转换。可序列化 JavaScript 对象、数值、字符串和数组到 JSON 字符串,同时可转换 JSON 字符串到 JavaScript。
var thing = {plugin: 'jquery-json', version: 2.3};//js对象
var encoded = $.toJSON( thing );
//转换为json,结果: '{"plugin":"jquery-json","version":2.3}'
var name = $.evalJSON( encoded ).plugin;
//js对象.属性,结果: "jquery-json"
var version = $.evalJSON(encoded).version;
//结果: 2.3
Clean Code
Robert C. Martin / Prentice Hall / 2008-8-11 / USD 49.99
Even bad code can function. But if code isn’t clean, it can bring a development organization to its knees. Every year, countless hours and significant resources are lost because of poorly written code......一起来看看 《Clean Code》 这本书的介绍吧!
