json-viewer icon indicating copy to clipboard operation
json-viewer copied to clipboard

It is a Chrome extension for printing JSON and JSONP.

Results 127 json-viewer issues
Sort by recently updated
recently updated
newest added

This minimal change seems to enable viewing of JSON Lines by treating it as an array of JSON. (P.S. I'm not a web developer and have limited experience with JavaScript...

When you have an object which is folded away, it should show the number of keys the object has, the way it does for arrays.

{"v":"5.6.4","fr":29.9700012207031,"ip":0,"op":301.000012259981,"w":1080,"h":1080,"nm":"elementos de marca","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Layer 3","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":20,"s":[0]},{"t":300.00001221925,"s":[180]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":20,"s":[514.633,463.333,0],"to":[67.333,-5.667,0],"ti":[41.731,-28.197,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":134.301,"s":[594.633,543.333,0],"to":[-65.024,43.937,0],"ti":[11,64,0]},{"t":301.000012259981,"s":[414.633,483.333,0]}],"ix":2},"a":{"a":0,"k":[-25.367,-76.667,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-39.701,30.153],[-44.934,62.609],[-6.891,11.007],[-12.818,38.197],[45.966,19.306],[76.688,7.61],[14.481,0.409],[38.427,-7.782],[-6.263,-49.46],[-11.661,-39.028],[-12.577,-27.814],[-32.45,-36.745]],"o":[[39.041,-29.652],[8.006,-11.155],[31.787,-50.778],[15.86,-47.263],[-45.197,-18.983],[-15.353,-1.524],[-57.853,-1.633],[-48.861,9.895],[3.719,29.369],[7.649,25.596],[31.755,70.218],[33.002,37.368]],"v":[[4.633,151.793],[138.352,14.491],[160.651,-18.784],[225.634,-156.141],[172.207,-274.281],[-13.558,-321.434],[-58.322,-324.256],[-204.969,-311.706],[-280.569,-206.369],[-258.525,-102.387],[-228.522,-21.912],[-124.393,138.989]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"gs","o":{"a":0,"k":100,"ix":9},"w":{"a":0,"k":18.286,"ix":10},"g":{"p":5,"k":{"a":0,"k":[0,0,0.494,0.725,0.245,0,0.633,0.81,0.491,0,0.773,0.894,0.745,0,0.837,0.896,1,0,0.902,0.898],"ix":8}},"s":{"a":0,"k":[348.24,-406.29],"ix":4},"e":{"a":0,"k":[195.94,-194.082],"ix":5},"t":2,"h":{"a":0,"k":0,"ix":6},"a":{"a":0,"k":0,"ix":7},"lc":2,"lj":1,"ml":10,"ml2":{"a":0,"k":10,"ix":13},"bm":0,"nm":"Gradient Stroke 1","mn":"ADBE Vector Graphic - G-Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[1],"y":[0]},"t":270,"s":[0]},{"t":300.00001221925,"s":[100]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0],"y":[1]},"o":{"x":[0.167],"y":[0.167]},"t":20,"s":[0]},{"t":80.0000032584668,"s":[100]}],"ix":2},"o":{"a":1,"k":[{"i":{"x":[0],"y":[1]},"o":{"x":[0.167],"y":[0.167]},"t":20,"s":[0]},{"t":80.0000032584668,"s":[180]}],"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":20.0000008146167,"op":321.000013074598,"st":20.0000008146167,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Layer 2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[0]},{"t":300.00001221925,"s":[-160]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[573.532,546.109,0],"to":[-53.333,22.333,0],"ti":[-32.584,57.608,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":137.794,"s":[487.532,464.109,0],"to":[29.521,-52.193,0],"ti":[-44,-35,0]},{"t":300.00001221925,"s":[655.532,458.109,0]}],"ix":2},"a":{"a":0,"k":[33.532,6.109,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-47.939,13.683],[-64.597,42.026],[-10.417,7.755],[-25.81,30.938],[35.822,34.675],[68.694,34.931],[13.344,5.638],[38.631,6.699],[12.119,-48.359],[3.302,-40.598],[-1.622,-30.483],[-16.897,-46.018]],"o":[[47.142,-13.456],[11.509,-7.488],[48.052,-35.775],[31.935,-38.281],[-35.223,-34.096],[-13.753,-6.994],[-53.313,-22.524],[-49.12,-8.518],[-7.196,28.715],[-2.165,26.627],[4.097,76.956],[17.185,46.8]],"v":[[-58.835,258.963],[115.605,179.571],[148.463,156.661],[258.877,52.265],[251.982,-77.21],[96.008,-188.584],[55.322,-207.464],[-85.877,-249.006],[-194.559,-178.299],[-211.767,-73.409],[-213.025,12.467],[-174.411,200.193]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.133333340287,0.164705887437,0.501960813999,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":13.715,"ix":5},"lc":2,"lj":1,"ml":10,"bm":0,"nm":"Stroke...

`README.md` says "It depends on node (version in package.json engines)" but `package.json` does not in fact contain an `engines` specification.

It would be very useful if json-viewer had a way, when you are looking at the middle of a large array or object that spans many pages, to either collapse...

It would be cool if json-viewer had an option to display the JSONPath of the element your mouse cursor is over.

The click handler on URLs should only open them when they are left-clicked - right-clicking should open up the context menu as always.

The Home and End keys normally, of course, scroll to the top or the bottom of a web page, and the up and down arrow keys scroll the page up...

line 1,2,3 shouldnt be numbered ![](https://raw.githubusercontent.com/tulios/json-viewer/master/screenshot.png)

In JSON like `{ "https://example.com/": "https://example.org/" }` both of the URLs should be detected, not just the second one.