Download the PHP package scratchy/jquery-jsonview without Composer
On this page you can find all versions of the php package scratchy/jquery-jsonview. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package jquery-jsonview
jQuery JSONView
Formats & syntax highlights JSON.
Port of Ben Hollis's JSONView extension for Firefox: http://jsonview.com
Usage
Example
Options
jQuery JSONView can be configured using the following options.
collapsed
- Collapse all nodes when rendering first time, default isfalse
.nl2br
- Convert new line to<br>
in String, default isfalse
.recursive_collapser
- Collapse nodes recursively, default isfalse
.escape
- Escape HTML in key, default istrue
.strict
- In strict mode, invalid JSON value type will throw a error, default isfalse
.
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
All versions of jquery-jsonview with dependencies
PHP Build Version
Package Version
Requires
php Version
^5 || ^7
The package scratchy/jquery-jsonview contains the following files
Loading the files please wait ....