https://github.com/jamiew/jsonview-chrome
DEPRECATED – Beautify how Chrome displays JSON - port of the Firefox extension. NOT JSONView in the Chrome store
https://github.com/jamiew/jsonview-chrome
Last synced: over 1 year ago
JSON representation
DEPRECATED – Beautify how Chrome displays JSON - port of the Firefox extension. NOT JSONView in the Chrome store
- Host: GitHub
- URL: https://github.com/jamiew/jsonview-chrome
- Owner: jamiew
- Archived: true
- Created: 2010-01-18T00:01:41.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2013-11-30T20:43:30.000Z (over 12 years ago)
- Last Synced: 2025-03-28T19:48:52.148Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://jsonview.com
- Size: 123 KB
- Stars: 141
- Watchers: 12
- Forks: 49
- Open Issues: 4
-
Metadata Files:
- Readme: README.textile
Awesome Lists containing this project
README
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:
* "relevant thread #1":http://groups.google.com/group/chromium-extensions/browse_thread/thread/3f287f74db3fe941/a217c9d4b633e1fc?lnk=gst&q=content+type#a217c9d4b633e1fc
* "relevant thread #2":http://groups.google.com/group/chromium-extensions/browse_thread/thread/6deeb0f8cf75090a/ae984e9d5897d779?lnk=gst&q=content+type#ae984e9d5897d779
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
* "Ben Hollis"::http://benhollis.net "@bhollis":http://twitter.com/bhollis (JSONView for Firefox)
* "Jamie Wilkinson":http://jamiedubs.com "@jamiew":http://twitter.com/jamiew (Chrome port) http://jamiedubs.com
MIT Licensed