JSON Editor
macOS / developpeurs
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
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 -> View & Edit -> Text Editor"
HTTP CLIENT
• Open HTTP Client window via "Window -> HTTP Client"
• 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 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
• Quick Look Preview extension - allows you to preview the JSON files in Finder
• Black appearance - for those who enjoy an even darker appearance
• Folder Navigation - browse folders' contents from and choose JSON files to make quick edits or to view their content
• Fullscreen
• Versions
• Services
• Command-line/Terminal integration
• AppleScript (incl. JXA)
Quoi de neuf dans la dernière version ?
Improvements
• Folder Navigation: Open folders in JSON Editor by using "File → Open..." panel or drag the folders on the app's Dock icon. Browse their contents from the left sidebar and choose JSON files to make quick edits or to view their content.
• Quick Look Preview: The app now provides a Quick Look Preview extension, which allows you to preview the JSON files in Finder. The minimum macOS version, for the extension to be available, is macOS 12.0 (Monterey).
• Settings/Preferences now has an additional option which can sort all the children of all objects by key, either ascending or descending, when a document is openend or reverted. This option is available under "Open & Save" tab → "Document open" → "Sort children of all objects by key".
• The error message for an invalid JSON, shown at the bottom of JSON text view, now also contains the line number where the error happens.
―――
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