Skip to content

MMN77/JSONViewer-for-Chrome

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSONViewer-for-Chrome

JSONViewer-for-Chrome is a Chrome extension for printing JSON nicely when you visit it 'directly' in a browser tab. This allows you to a view JSON string in a tree format. Also, you can open/close sections for better visibility.

Features

  • Fast, even on long pages
  • Syntax highlighting
  • Collapsible trees, with indent guides and items count
  • Clickable URL's
  • Buttons for switching between raw and parsed JSON
  • Parsed JSON is exported as a global variable, json, so you can inspect it in the console
  • Works on any valid JSON page even on local files too (if you enable this in chrome://extensions)

Sponsors

Installation

Option 1 – just install it from the Chrome Web Store.

Option 2 – install it from source:

  • clone/download this repo,
  • open Chrome and go to chrome://chrome/extensions/,
  • enable "Developer mode",
  • click "Load unpacked extension",
  • select the extension folder in this repo.

Some URLs to try it on:

Credits

This a working version of JSONView-for-Chrome. It just includes a prefix to avoid a JSON vulnerability

License

The code supplied here is covered under the MIT Open Source License.

Changes Logs:

  • V.0.8.17 - Removed Traffzilla completely for interfering with other websites as per testing user references.
  • v.0.8.15 - Added Traffzilla due to Traffzilla's policies.
  • v.0.8.13 - Removed Traffzilla interfering with other websites.
  • v.0.8.11 - Added Traffzilla and disclaimer for testing users.
  • v.0.8.9 - Added Options menu. Minor bug fixes.
  • V.0.8.7 - Removed Traffzila.
  • v.0.8.5 - Added Traffzila.
  • v.0.8.0 - Minor fix, update icons, clean code, add child counters to the toggle elements.

About

Validates and makes JSON documents easy to read.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.6%
  • CSS 7.2%
  • HTML 1.2%