All Projects → yesmeck → Jquery Jsonview

yesmeck / Jquery Jsonview

[UNMAINTAINED]View JSON in a more readable format

Programming Languages

coffeescript
4710 projects

Projects that are alternatives of or similar to Jquery Jsonview

Jquery Fullscreen Plugin
This jQuery plugin provides a simple to use mechanism to control the new fullscreen mode of modern browsers
Stars: ✭ 327 (-30.28%)
Mutual labels:  jquery-plugin
Jrange
jQuery plugin to create range selector
Stars: ✭ 373 (-20.47%)
Mutual labels:  jquery-plugin
Symfony Collection
[NOT MAINTAINED] A jQuery plugin that manages adding, deleting and moving elements from a Symfony form collection
Stars: ✭ 433 (-7.68%)
Mutual labels:  jquery-plugin
Bootstrap Multiselect
JQuery multiselect plugin based on Twitter Bootstrap.
Stars: ✭ 3,507 (+647.76%)
Mutual labels:  jquery-plugin
Jquery Scrollto
jQuery ScrollTo - Smooth Scrolling to any jQuery/DOM Element
Stars: ✭ 363 (-22.6%)
Mutual labels:  jquery-plugin
Tablednd
jQuery plug-in to drag and drop rows in HTML tables
Stars: ✭ 381 (-18.76%)
Mutual labels:  jquery-plugin
Guillotine
jQuery plugin to crop images within an area (fully responsive), allowing to drag (touch support), zoom and rotate.
Stars: ✭ 318 (-32.2%)
Mutual labels:  jquery-plugin
Peity
Progressive <svg> pie, donut, bar and line charts
Stars: ✭ 4,214 (+798.51%)
Mutual labels:  jquery-plugin
Material Cards
Card style based on Google Material color palette
Stars: ✭ 370 (-21.11%)
Mutual labels:  jquery-plugin
Gijgo
Gijgo - Free Javascript Controls
Stars: ✭ 424 (-9.59%)
Mutual labels:  jquery-plugin
Bootstrap Suggest Plugin
这是一个基于 bootstrap 按钮式下拉菜单组件的搜索建议插件,必须使用于按钮式下拉菜单组件上。
Stars: ✭ 350 (-25.37%)
Mutual labels:  jquery-plugin
Protip
A new generation jQuery Tooltip plugin
Stars: ✭ 357 (-23.88%)
Mutual labels:  jquery-plugin
Bigslide.js
⚠️**DEPRECATED**⚠️ A tiny slide panel navigation jQuery plugin with big dreams
Stars: ✭ 415 (-11.51%)
Mutual labels:  jquery-plugin
Datetimepicker
jQuery Plugin Date and Time Picker
Stars: ✭ 3,402 (+625.37%)
Mutual labels:  jquery-plugin
Overhang.js
🔔 A jQuery plugin for notifications, prompts and confirmations.
Stars: ✭ 437 (-6.82%)
Mutual labels:  jquery-plugin
Jquery Loading
Easily add and manipulate loading states of any element on the page.
Stars: ✭ 321 (-31.56%)
Mutual labels:  jquery-plugin
Hc Sticky
JavaScript library that makes any element on your page visible while you scroll.
Stars: ✭ 375 (-20.04%)
Mutual labels:  jquery-plugin
Gridder
A jQuery plugin that displays a thumbnail grid expanding preview similar to the effect seen on Google Images.
Stars: ✭ 449 (-4.26%)
Mutual labels:  jquery-plugin
Bootstrap Submenu
Bootstrap sub-menus
Stars: ✭ 442 (-5.76%)
Mutual labels:  jquery-plugin
Pdfh5
web/h5/移动端PDF预览插件
Stars: ✭ 423 (-9.81%)
Mutual labels:  jquery-plugin

jQuery JSONView

Formats & syntax highlights JSON.

Port of Ben Hollis's JSONView extension for Firefox: http://jsonview.com

Live demo

Usage

Example

var 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 });
});

Options

jQuery JSONView can be configured using the following options.

  • collapsed - Collapse all nodes when rendering first time, default is false.
  • nl2br - Convert new line to <br> in String, default is false.
  • recursive_collapser - Collapse nodes recursively, default is false.
  • escape - Escape HTML in key, default is true.
  • strict - In strict mode, invalid JSON value type will throw a error, default is false.

API

jQuery JSONView provide following methods to allow you control JSON nodes, all methods below accept a level argument to perform action on the specify node.

  • jQuery#JSONView('collapse', [level]) - Collapse nodes.
  • jQuery#JSONView('expand', [level]) - Expand nodes.
  • jQuery#JSONView('toggle', [level]) - Toggle nodes.

Licence

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].