• Stars
    star
    3,260
  • Rank 13,201 (Top 0.3 %)
  • Language
    HTML
  • License
    MIT License
  • Created over 10 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

It is a Chrome extension for printing JSON and JSONP.

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. yarn run build
  5. Open Chrome and go to: 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.

More Repositories

1

kafkajs

A modern Apache Kafka client for node.js
JavaScript
3,599
star
2

mappersmith

is a lightweight rest client for node.js and the browser
TypeScript
330
star
3

jquery.silver_track

A smart and very extensible jquery sliding carousel
JavaScript
76
star
4

burrow-stats

Dashboard for burrow kafka consumer lag checking
JavaScript
49
star
5

ember-webpack-example

TodoMVC app implemented using Ember + webpack
JavaScript
27
star
6

nightcrawler_swift

Like the X-Men nightcrawler this gem teleports your assets to a OpenStack Swift bucket/container
Ruby
22
star
7

placeholder_shimmer

Similar to facebook's placeholder animation
CSS
19
star
8

icosmith

Icon font generator server
Ruby
18
star
9

better_helpers

It is a better way to organize and maintain your Rails helpers
Ruby
17
star
10

jquery.chaos

A dynamic mess organizer plugin
JavaScript
13
star
11

ember-webpack-loaders

a set of webpack loaders to help with ember integration
JavaScript
13
star
12

react-memory-game

This is an exercise for a react workshop
JavaScript
10
star
13

mappersmith-cached-gateway

It is a gateway for Mappersmith that wraps a transport gateway with a cache store to achieve transparent cache functionalities
JavaScript
10
star
14

tiny-kafka

is a tiny implementation of Apache Kafka, targeting your test environments
JavaScript
9
star
15

liferay_models

ActiveRecord liferay models
Ruby
8
star
16

sexy_download

A Script that retrieves google chrome cookies and calls aria2c for multithreading download
Ruby
7
star
17

mappersmith-object

It aims to provide a light layer on top of your objects/responses to help with common annoyances which the javascript world provides daily
JavaScript
7
star
18

dojo-brasilia-sudoku

A sudoku in java.
Java
7
star
19

jquery.lazy_content

jquery plugin for lazy load of any content
HTML
6
star
20

dojo-brasilia-robosexploradores

Java
6
star
21

remotebattle

Jogo de batalha naval multiplayer
Java
6
star
22

css-color-highlight

Atom plugin to Highlight colors
CoffeeScript
6
star
23

kafkajs-snappy

Snappy codec for KafkaJS
JavaScript
5
star
24

omnichat

A good chat platform!!
CoffeeScript
4
star
25

battlefield3.dashboard

Battlefield 3 score dashboard
Ruby
4
star
26

projetofinal-roteiros

Montagem e avaliação de roteiros de viagens
Ruby
4
star
27

liferay_webservices

The missing wrapper for liferay webservices
Ruby
4
star
28

lembremeuscontatos

O projeto gerencia um conjunto de mensagens que devem ser enviadas a um grupo de contatos a cada tanto tempo
JavaScript
4
star
29

proxy_machine

A cool proxy implementation pattern in ruby
Ruby
4
star
30

stale_if_slow

Is a quality assurance tool for methods that access external services or have slow operations that could rely on stale cache in case of problem.
Ruby
4
star
31

money_mg

Gerenciador financeiro
Ruby
3
star
32

dmdspec

Behavior driven development in D
D
3
star
33

andmyaxe

And My Axe
Ruby
3
star
34

dojo-brasilia-placas

http://www.dcc.fc.up.pt/oni/problemas/2008/qualificacao/probA.html
Java
3
star
35

dojo-brasilia-numerotoliteral

Java
3
star
36

pivotal-cmd

Command line tool for pivotal
Ruby
3
star
37

mappersmith-redux-middleware

it is a middleware for mappersmith which dispatches your request lifecycle to a redux store
JavaScript
3
star
38

liferay_database_config_reader

Allow the rails portlet app to read and configure database with liferay portal-ext.properties
Ruby
3
star
39

datasync

Java
2
star
40

downloader

File downloader written in Go
Go
2
star
41

mappersmith-circuit-breaker

Circuit breaker implementation for Mappersmith, it protects your application from failures of it's service dependencies
JavaScript
2
star
42

icosmith-rails

Rails integration with an icosmith server
Ruby
2
star
43

miranda

A java web MVC framework made with regard to study
Java
2
star
44

webpack-css-inject-loader

Webpack loader to automatically import CSS/SCSS
JavaScript
2
star
45

component_swarm

Ruby
2
star
46

horas_trabalhadas

Projeto horasTrabalhadas em Rails
JavaScript
2
star
47

produtor_consumidor

resolução do problema produtor x consumidor em ruby
Ruby
1
star
48

problema2

Suponha que você precisa implementar um robo
1
star
49

mappersmith-playground

CSS
1
star
50

load_balancer

Load balancer written in Go
Go
1
star
51

webpack-study

Experiments with Webpack
JavaScript
1
star
52

dot-vim

vim configs
Shell
1
star
53

icosmith-rails-example

Example of icosmith-rails configured
Ruby
1
star
54

picheme_android

Cliente android para o piche.me, similar ao cliente para o google chrome
Java
1
star
55

sleeping_barber

Sleeping barber in Go
Go
1
star
56

dojoCounter

Java
1
star
57

dot-atom

Configurations and plugins of my atom editor
JavaScript
1
star
58

link_unprotect

Unprotects some dumb 'protected' links.
Ruby
1
star
59

virtual_date

To and from dates in a second
Ruby
1
star
60

dashwall

JavaScript
1
star
61

dojo-brasilia-espiral

Calculo de uma matriz em espiral usando * / - +
Java
1
star
62

component_swarm_test

Ruby
1
star
63

filosofos_glutoes

Problema clássico do Jantar dos filosofos em Ruby
Ruby
1
star
64

pong

Pong block destroyer game =]
Ruby
1
star
65

problema3

Crie um sistema web de TODO list. Os requisitos são por sua conta.
JavaScript
1
star
66

dojo-brasilia-piratas

http://groups.google.com.br/group/dojo-brasilia?hl=pt-BR
Java
1
star
67

problema1

Qual inteiro positivo abaixo de 1 milhão, produz a sequencia com mais items? dado n -> n/2 (se n é par) n -> 3n + 1 (se n é impar)
Ruby
1
star
68

rspec_runner

Adds suite of tests feature on RSpec (awesome if you have 1k+ tests)
Ruby
1
star