52

Currently, I can use the space bar to preview a number of files such as .txt, .css, .html etc in Quick Look. I cannot, however, see the actual contents of a .json file.

Is there any possible way to see the contents of .json files through space bar preview in finder? (I'm Using OSX 10.8.4)

Paul
  • 633

5 Answers5

45

The home brew team has packaged qlstephen

brew install —-cask qlstephen
bmike
  • 235,889
45

Download a release of qlstephen from Github, and load it into the /Library/Quicklook or ~/Library/QuickLook folder. Then, restart the Dock.

I use this all the time when previewing JSON files, and it works great.

Dave
  • 12,173
15

You can use the quicklook-json plugin. If you want to install it via homebrew, run

brew cask install quicklook-json

which requires a running

brew install caskroom/cask/brew-cask

if you never did that before.

7

Run brew cask install quicklook-json to Preview JSON files.

There are bunch of other usefull here, check following awesome list https://github.com/sindresorhus/quick-look-plugins

Or install with following

brew install caskroom/cask/brew-cask
brew cask install qlcolorcode qlstephen qlmarkdown quicklook-json qlprettypatch
brew cask install quicklook-csv betterzipql qlimagesize webpquicklook suspicious-package
nohillside
  • 100,768
1

Macports provides an adequate port: sudo port install QLStephen.

moala
  • 131