The most beautiful and customizable JSON/JSONP highlighter that your eyes have ever seen.

Latest Version

Version
3.0.0
Update
September 3, 2024
Size
453KiB
Developer
Category
Users
31
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Scripting
ActiveTab
Storage
See more

JSON Viewer (V3) Extension

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
* 26 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 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

This plugin is open source
https://github.com/mrfanii/JSON-Viewer-v3

Bugs and suggestions
https://github.com/mrfanii/JSON-Viewer-v3/issues

License
MIT License
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "JSON Viewer (V3)", "version": "3.0.0", "description": "The most beautiful and customizable JSON/JSONP highlighter that your eyes have ever seen.", "homepage_url": "https://github.com/mrfanii/JSON-Viewer-v3", "icons": { "16": "icons/16.png", "32": "icons/32.png", "128": "icons/128.png" }, "background": { "service_worker": "assets/background.js" }, "offline_enabled": true, "omnibox": { "keyword": "json-viewer" }, "options_page": "pages/options.html", "content_scripts": [ { "matches": [ "" ], "js": [ "assets/viewer.js" ], "run_at": "document_start" } ], "host_permissions": [ "" ], "permissions": [ "scripting", "activeTab", "storage" ], "web_accessible_resources": [ { "resources": [ "assets/viewer.css", "assets/viewer-alert.css", "pages/options.html", "pages/omnibox.html", "themes/light/base16-light.css", "themes/light/coy.css", "themes/light/funky.css", "themes/light/mdn-like.css", "themes/light/neo.css", "themes/light/solarized_light.css", "themes/light/yeti.css", "themes/dark/3024-night.css", "themes/dark/ambiance.css", "themes/dark/base16-dark.css", "themes/dark/cobalt.css", "themes/dark/dark.css", "themes/dark/dracula-custom.css", "themes/dark/dracula.css", "themes/dark/jellybeans.css", "themes/dark/material.css", "themes/dark/mbo.css", "themes/dark/mehdi.css", "themes/dark/midnight.css", "themes/dark/monokai.css", "themes/dark/okaidia.css", "themes/dark/panda-syntax.css", "themes/dark/solarized_dark.css", "themes/dark/tomorrow.css", "themes/dark/twilight.css", "themes/dark/zenburn.css" ], "matches": [ "" ] } ]}
Read more

How to download and manually install JSON Viewer (V3) extension for Chrome

Looking for a way to install JSON Viewer (V3) extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install JSON Viewer (V3) extensions manually, this article outlines two simple methods to effortlessly install JSON Viewer (V3) extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download JSON Viewer (V3) extension and manually install through Drag &Drop

If you ever need to manually install a JSON Viewer (V3) extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the JSON Viewer (V3) Extension by clicking the "Download CRX" button on the website.

Look for the JSON Viewer (V3) extension you wish to install. Go to the website and download the JSON Viewer (V3) extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for JSON Viewer (V3) extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the JSON Viewer (V3) extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download JSON Viewer (V3) extension for Chrome and install in Developer Mode

This is another method to install JSON Viewer (V3) extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the JSON Viewer (V3) extension file

Select and download the JSON Viewer (V3) extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the JSON Viewer (V3) extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your JSON Viewer (V3) extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the JSON Viewer (V3) extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install JSON Viewer (V3) extension in 2 ways. We hope this guide proves helpful.

Similar Extensions