Socket
Socket
Sign inDemoInstall

jquery.json-viewer

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    jquery.json-viewer

jQuery plugin for displaying JSON data


Version published
Maintainers
1
Install size
7.89 kB
Created

Readme

Source

jQuery json-viewer

json-viewer is a jQuery plugin for easily displaying JSON objects by transforming them into HTML.

Features:

  • Syntax highlighting
  • Collapse and expand child nodes on click
  • Clickable links
  • Easily readable and minimal DOM structure

Check out the demo page!

Usage

Import jquery.json-viewer.js and jquery.json-viewer.css in your application.

Then just call the jsonViewer() method and pass your JSON data in argument:

<pre id="json-renderer"></pre>
var data = {
	// ...
};
$('#json-renderer').jsonViewer(data);

About

Keywords

FAQs

Last updated on 11 Jan 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc