JSON Editor 4+

VDT LABS S.R.L.

    • USD 7.99
    • Offers In-App Purchases

Screenshots

Description

JSON Editor is a must-have editor for JSON, JSON5 and JSON Lines data. In a clean, uncluttered and user-friendly interface, it allows you to create, visualize, modify, validate, format and save your JSON documents.
Along with the included HTTP Client, is a powerful tool to inspect and debug your API endpoints.

JSON Editor has the smarts needed to make the minimum changes when editing a file, even in the "outline" mode.
This is especially useful when you keep the files in a repository, because only the relevant changes will be shown when diff-ing the edited files.

MAJOR FEATURES
• Supported JSON formats: JSON (classic), JSON Lines, JSON5
• View and edit your JSON documents in "outline" or "text" modes
• The "outline" mode offers a great and error proof way to manipulate your JSON, by allowing you to easily add, reorder, delete, copy & paste the items
• The "text" mode offers a quick way to interact with the raw text which makes up the JSON and to investigate invalid JSONs
• Works with "classic" JSON as well as JSON Lines format

OUTLINE MODE
• Multiple selection - select multiple siblings and perform standard operations (i.e. cut, copy, paste, delete, reorder)
• Sort selected items or all the children of a parent item
• Auto-detect if the document is human readable or compact, and preserve this format
• Find & Replace - configure where the Find (and replace) will take place: in "Key" column or "Value" column or both.
• Copy items as: Swift objects, Objective-C objects (both modern and classic syntax), JSON Path strings, XML plists
• Embed selected items in Array or Object (dictionary)
• Duplicate items
• Bulk edit the "value" of multiple items
• Increase and decrease font size for better readability
• The JSON5 comments can be viewed in the leftmost column by hovering the cursor over the indicator
• Undo & redo
• Customization options in "Settings/Preferences -> View & Edit -> Outline Editor"


TEXT MODE
• Syntax coloring, auto-indentation and line numbers
• Customize the syntax colors, both for the light appearance and for the dark/black one
• Validate the JSON document
• Highlight of the validation errors, along with a description of them
• Make the JSON document human readable or compact, even if it is not entirely valid
• Find & Replace
• Increase and decrease font size for better readability
• Undo & redo
• Customization options available in "Settings/Preferences -> View & Edit -> Text Editor"


HTTP CLIENT
• Open HTTP Client window via "Window -> HTTP Client" (Shift + Command + K)
• HTTP Client allows you to perform HTTP requests. While its main purpose is to ease the fetch of JSON content from a server, it can be used to get or upload any content, including binary. The following HTTP verbs are supported: GET, POST, PUT, DELETE, HEAD
• You can create folders to group the requests. Folders inside folders are supported, too! This is handy to group the projects or APIs you're working with
• Automatically detects if response is text or binary, and for binary responses will shows its preview, while also allowing you save it to the desired file
• For response bodies which are text, you will have the option to beautify them as JSON and to open them in a new JSON Editor document
• Both HTTP authentication (basic, digest) and Proxy authentication, with Keychain integration, are supported
• OAuth 2.0 is also supported. In addition to the built-in providers (bitly, Facebook, Foursquare, GitHub, Google, Instagram) you may add your custom ones, too
• Once you have added and setup an OAuth 2.0 authorization you can attach it to a HTTP request - JSON Editor will take care of refreshing and attaching access token to the HTTP request
• Export and import HTTP requests and OAuth authorizations

OTHER FEATURES
• Toolbar to access common operations
• Black appearance - for those who enjoy an even darker appearance
• Fullscreen
• Versions
• Services
• Command-line/Terminal integration
• AppleScript (incl. JXA; JavaScript for Automation)

What’s New

Version 1.50

New Feature - JSON5
• This update brings an important feature: support for JSON5 format (https://json5.org)
• The app automatically detects the files which are using this format and informs you about this.
• You are able to explicitly convert a document to JSON5 by choosing "Format → JSON Format → JSON5" menu item.
• From the "JSON Format" menu you can also "downgrade" a JSON5 document to JSON (classic) format. In this case, all JSON5 features that potentially might exist (i.e. comments, trailing commas) will be removed or sanitized, thus resulting a valid JOSN (classic) document.
• While in JSON outline mode, any potential comment existing in the JSON5 document is presented in the leftmost column. Hovering over a "comments" indicator will present a popover with all the comments belonging to the corresponding JSON value or key/value pair.
• For the moment, the comments can be added, modified or deleted only when using the JSON text mode. The JSON outline mode offers only a read-only preview of the comments.

Other Improvements
• When dealing with a list of objects, you can now specify a key whose value will be displayed as a label next to each object. This makes it easy to find a particular object in a large list without having to open each object to see its contents. To specify the key, right click the parent array or object and choose "Set Label For Child Objects...".
• The "Replace" text field, located in the JSON outline's "Find" bar, now has an "X" button which clears the field, similar to the one from "Find" field.

Fixes
• The last column from the JSON outline is now properly sized, after opening a file or creating a new one, to fit exactly within the JSON outline control.

―――
If you enjoy JSON Editor and find it useful, please also consider JSON Editor Mobile, the sibling app specifically made for iPhones and iPads.
We constantly want to improve the quality of our apps. For any feedback, questions and ideas please contact us at json.editor.contact@gmail.com

App Privacy

The developer, VDT LABS S.R.L., indicated that the app’s privacy practices may include handling of data as described below. For more information, see the developer’s privacy policy.

Data Not Collected

The developer does not collect any data from this app.

Privacy practices may vary based on, for example, the features you use or your age. Learn More

More By This Developer