在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:yesmeck/jquery-jsonview开源软件地址:https://github.com/yesmeck/jquery-jsonview开源编程语言:CoffeeScript 79.2%开源软件介绍:jQuery JSONViewFormats & syntax highlights JSON. Port of Ben Hollis's JSONView extension for Firefox: http://jsonview.com UsageExamplevar json = {"hey": "guy","anumber": 243,"anobject": {"whoa": "nuts","anarray": [1,2,"thr<h1>ee"], "more":"stuff"},"awesome": true,"bogus": false,"meaning": null, "japanese":"明日がある。", "link": "http://jsonview.com", "notLink": "http://jsonview.com is great"};
$(function() {
$("#json").JSONView(json);
// with options
$("#json-collasped").JSONView(json, { collapsed: true });
}); OptionsjQuery JSONView can be configured using the following options.
APIjQuery JSONView provide following methods to allow you control JSON nodes, all methods below accept a level argument to perform action on the specify node.
Licence |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论