Skip to content
JSON formatter - no jquery. Only 3 KB minified.
JavaScript CSS
Branch: master
Clone or download
Pull request Compare This branch is 4 commits ahead of LorDOniX:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
JView.css
JView.js
JView.min.js
README.md

README.md

JView

Based on JSONViewer

Information

  • Visualise JSON objects, root level may contains array or object.
  • No jquery or other libraries.

Use

  • Insert JView.js & JView.css files to your pages.
  • Create new instance of JView, which accepts 2 arguments - DOM node, build: runs build with DOM node text content and collapse all at level 1, set to false to disable.
  • Visualise json using "build()" method, which accepts 3 arguments - json file, optional: visualise to max level (-1 unlimited, 0..n), optional: collapse all at level (-1 unlimited, 0..n).

Credits

  • Created by Roman Makudera.
You can’t perform that action at this time.