Skip to content

A QuickLook plugin to pretty-print (node.js style) JSON. Click to fold/unfold sub-trees!

License

Notifications You must be signed in to change notification settings

johan/QuickJSON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuickJSON

A QuickLook plugin to pretty-print JSON in the terse comma-first style, e g:

{ "name": "flux"
, "description": "An application architecture based on a unidirectional data flow"
, "version": "2.1.1"
, "homepage": "http://facebook.github.io/flux/"
, "repository":
  { "type": "git"
  , "url": "https://github.com/facebook/flux.git"
  }
, "authors":
  [ "Facebook"
  , "Jing Chen <[email protected]>"
  , "Bill Fisher <[email protected]>"
  , "Paul O'Shannessy <[email protected]>"
  ]
}

Installing

To install a pre-built version for osx 10.6+, download and unzip QuickJSON.qlgenerator.zip into /Library/QuickLook/ (to install system-globally), or into ~/Library/QuickLook/ (to install for yourself only). You may need to create this directory, if it does not exist.

To get sweet copy/paste functionality from QuickLook, also run:

defaults write com.apple.finder QLEnableTextSelection -bool true

from a Terminal window, and to refresh installed plugins afterwards:

qlmanage -r

Another method, if you have Homebrew Cask installed:

brew update
brew install --cask quickjson

To uninstall:

brew uninstall --cask quickjson

About

A QuickLook plugin to pretty-print (node.js style) JSON. Click to fold/unfold sub-trees!

Resources

License

Stars

Watchers

Forks

Packages

No packages published