README.textile

November 30, 2013 ยท View on GitHub

h2. JSONView for Chrome

Formats & syntax highlights JSON viewed inside of the web browser! Yay

PLEASE NOTE: this codebase is currently unmaintained, and is unrelated to the JSONView extension "available in the Chrome store":https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc โ€“ that said, many people seem to be using it to great success, and pull requests or a new maintainer are always welcome.

A Chrome port of Ben Hollis' JSONView extension for Firefox: http://jsonview.com

You too can enjoy JSON as it was intended: !https://addons.cdn.mozilla.net/img/uploads/previews/full/29/29967.png?modified=1331247702!

h2. Ghetto JSON type detection

Chrome doesn't currently support exposing mimetypes to extensions:

In lieu we're only matching URIs containing ".json" -- rather than running regexes on every pageload.

If you don't mind the performance impact and want to try and parse everything, this is a simple change in manifest.json

bq. "matches": [ "http:///.json*", "file:////.json*" ] => "matches": [ "http:///", "file:////" ]

h2. Authors

MIT Licensed