The package is feature rich with support for converting JSON into XML, prettify JSON or minify it. Next on the list is Pretty JSON, a package for those who are rocking a sublime text editor 2 or 3. Pretty JSON (extension for Sublime Text Editor 2 and 3) You don’t want to paste it into an untrusted web page.Ģ. JSON payloads often contain authentication tokens, API keys and other sensitive information. Can’t use this natively with your text editor, switching between editor and web browser is distracting.There’s feature that lets you choose between hard tabs or spaces of a given length for indentation and much more. Along with that it also has a minify feature which tightly packages the JSON object, removing excess whitespaces. This web-based utility offers features including the beautify one, which makes your JSON object friendlier to the human eye.
The following are a few curated options that can be used Ubuntu, although as you will see a few of them work as editor extensions and can run on any OS with Visual Studio Code or Atom editor installed there’s also a web based utility that for testing the waters: 1. So we need a JSON beautifier for application developers to help them keep track of things. With complicated applications and large JSON payloads, this problem can get out of hand pretty quickly. You can easily read the latter format while the former is just strewn with quotations and commas to the point where you can’t understand where one value ends and the next name begin. For example, “city” is name with the value “New York”. Now, deciphering what are names and what are values is much much easier. This is all well and good, but JSON is not very human-readable and so we find ourselves in need for a JSON beautifier something that can turn this: into this:
It is now possible to beautify local (file://) JSON files.Ģ. ► Open a new editor from selection text (right-click context menu)ġ. ► Open a new editor to write a new JSON object ► Keeps expanded structure when refreshing the JSON page
► Supports raw, code, and parsed JSON views ► Converts text links into clickable URLs ► Has light and dark syntax highlighting themes Just open a JSON page and the extension automatically converts the page into the editor mode.Īs of version 0.2.0, the extension uses a dark theme if your browser's default theme is dark.
There is no need to do anything after installation. You can even change the format of a key or drag it into a new place. You can view, edit, search through values and keys. Display JSON objects by transforming them into Syntax editable highlighted HTML to validate, format, and save This extension monitors JSON pages and converts them into a human-readable object.