json格式化、高亮库 jsonFormater
- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://git.oschina.net/leo108/jsonFormater
- 软件文档: http://git.oschina.net/leo108/jsonFormater
软件介绍
基于jQuery的json格式化、高亮库
核心代码参考天马行空工作室,本人只做了模块化和一些代码优化。
demo
http://leo108.github.io/jsonFormater/
使用方式
引入jQuery
注意:jQuery版本要求>=1.7.2
引入jsonFormater.js和jsonFormater.css
在html中新增一个空的元素作为显示的容器
例如
调用JsonFormater
$(document).ready(function(){
var options = {
dom : '#container' //对应容器的css选择器
};
var jf = new JsonFormater(options); //创建对象
jf.doFormat('{"string":"leo108"}'); //格式化json
});效果图
The Nature of Code
Daniel Shiffman / The Nature of Code / 2012-12-13 / GBP 19.95
How can we capture the unpredictable evolutionary and emergent properties of nature in software? How can understanding the mathematical principles behind our physical world help us to create digital w......一起来看看 《The Nature of Code》 这本书的介绍吧!
Markdown 在线编辑器
Markdown 在线编辑器
HEX HSV 转换工具
HEX HSV 互换工具
