JSON Editor is a must-have editor for JSON 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
• 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
• 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
• To open HTTP Client window choose "Window -> HTTP Client" (Shift + Command + K)
• HTTP Client allows you to easily 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 HTTP requests. Folders inside folders are supported, too! This feature is very handy to group the projects or APIs youre working with
• Automatically detects if response body 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)