Giter VIP home page Giter VIP logo

json-viewer's Introduction

JSONViewer Logo

JSON Viewer

screenshot

The most beautiful and customizable JSON/JSONP highlighter that your eyes have ever seen. It is a Chrome extension for printing JSON and JSONP.

Notes:

  • This extension might crash with other JSON highlighters/formatters, you may need to disable them
  • To highlight local files and incognito tabs you have to manually enable these options on the extensions page
  • Sometimes when the plugin updates chrome leaves the old background process running and revokes some options, like the access to local files. When this happen just recheck the option that everything will work again
  • Works on local files (if you enable this in chrome://extensions)

Features:

  • Syntax highlighting
  • 27 built-in themes
  • Collapsible nodes
  • Clickable URLs (optional)
  • URL does not matter (the content is analysed to determine if its a JSON or not)
  • Inspect your json typing "json" in the console
  • Hot word json-viewer into omnibox (type json-viewer + TAB and paste your JSON into omnibox, hit ENTER and it will be highlighted)
  • Toggle button to view the raw/highlighted version
  • Works with numbers bigger than Number.MAX_VALUE
  • Option to show line numbers
  • Option to customize your theme
  • Option to customize the tab size
  • Option to configure a max JSON size to highlight
  • Option to collapse nodes from second level + Button to unfold all collapsed nodes
  • Option to include a header with timestamp + url
  • Option to allow the edition of the loaded JSON
  • Option to sort json by keys
  • Option to disable auto highlight
  • Option for C-style braces and arrays
  • Scratch pad, a new area which you can type/paste JSON and format indefinitely using a button or key shortcut. To access type json-viewer + TAB + scratch pad ENTER

Installation

Install through Chrome Web Store

https://chrome.google.com/webstore/detail/json-viewer/gbmdgpbipfallnflgajpaliibnhdgobh

or compile and load by yourself

  1. it depends on node (version in package.json engines)
  2. npm install --global yarn
  3. yarn install
  4. npm run build
  5. open Chrome and go to chrome://chrome/extensions/
  6. enable "Developer mode"
  7. click "Load unpacked extension"
  8. select "build/json_viewer" directory

Try it on

JSON

https://api.github.com/repos/tulios/json-viewer

http://graph.facebook.com/github

https//api.github.com

https://api.github.com/gists/public

Large files:

https://raw.githubusercontent.com/ebrelsford/geojson-examples/master/596acres-02-18-2014.geojson

https://api.takealot.com/rest/v-1-4-2/productlines?available=1&cat=10371&instock=1&rows=10&sort=score%20desc&start=0

JSONP

http://freemusicarchive.org/api/get/curators.jsonp?api_key=60BLHNQCAOUFPIBZ&callback=test

License

See LICENSE for more details.

json-viewer's People

Contributors

atilkan avatar benhollander avatar benvan avatar bluec0re avatar chasewagoner avatar discotroll65 avatar eigilsagafos avatar jkreileder avatar kyleladd avatar lottamus avatar north101 avatar npejo avatar reimund avatar tulios avatar vkadam avatar wednesday avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.