Skip to content

johan/json-formatter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON Formatter

Chrome extension for printing JSON and JSONP nicely when you visit it 'directly' in a browser tab.

Features

  • JSONP support
  • Fast, even on long pages
  • Works on any valid JSON page – URL doesn't matter
  • Syntax highlighting
  • Collapsible trees, with indent guides
  • Clickable URLs
  • 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

A background worker is used to prevent the UI freezing when processing very long JSON pages.

Installation

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

Option 2 – install it from souce:

  • 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:

About

Makes JSON/JSONP easy to read.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.7%
  • Ruby 0.3%