Skip to content

cnsuhao/jsonview-chrome

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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:////” ]

Authors

MIT Licensed

About

Sexify how Chrome displays JSON -- port of the Firefox extension

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.1%
  • CSS 7.9%