JSON Editor

JSON Editor

By Vlad Badea

  • Category: Developer Tools
  • Release Date: 2012-11-17
  • Current Version: 1.32
  • Adult Rating: 4+
  • File Size: 5.30 MB
  • Developer: Vlad Badea
  • Compatibility: Requires iOS 10.11 or later.

Description

JSON Editor is a must-have editor for JSON data. In a clean, uncluttered and user-friendly interface, it allows you to quickly 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. KEY FEATURE - JSON EDITOR • Edit JSON documents both in tree and text modes • Multiple selection in tree mode - you can select multiple siblings and perform standard operations (i.e. copy, drag and drop etc) on them • Syntax coloring, auto-indentation and line numbers • Validation of 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 • Auto-detect if the document is human readable or compact, and preserve this format • Cut, copy, paste, delete and reorder the tree items • Undo & redo • Easily embed selected items in Array or Object (dictionary) • Find & Replace, both in tree and text modes • In tree mode you can choose where the Find (and Replace) will take place: in "Key" column or "Value" column or both. The option which controls which columns will be searched is available by clicking the "search" image in the find bar (Command + F) and then accessing the options from "Find In" submenu • Find also lets you configure where in the JSON's keys and values to look for matches: "Contains", "Equals To", "Starts With" and "Ends With". • Import and export property list (.plist) files • Support for pasting plist data, either from XML text or from Xcode • Copy JSON nodes as Swift objects so you can use them in Xcode • Copy JSON nodes as Objective-C objects (both modern and classic syntax) so you can use them in Xcode • Copy JSON nodes as JSON Path strings • Copy JSON nodes as XML plist so you can paste them in Xcode or other text editor • Ability to change the default font - this font applies both to the JSON tree and to the text editor • Ability to increase and decrease font size for better readability • Detect when the JSON document is changed by another application. In Preferences (Command + ,) -> "General" tab, you have the ability to customize what to do when this happens: "Keep JSON Editor's version" or "Ask how to resolve" or "Update to modified version" • Double click on one of JSON tree's column separators to resize the corresponding column so the largest text in that column will be visible KEY FEATURE - 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 you're 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 • Dark Mode (on macOS Mojave 10.14) • Fullscreen • Versions • Services • Command-line/Terminal integration • AppleScript (incl. JXA; JavaScript for Automation)

Register

Screenshots

Reviews

  • Nice Native App!

    5
    By KyleIshie
    Wonderful little native mac app that has just enough to get the job done. If you want a seemless json experience get this app now. P.S. There is a CSV version too!
  • Perfect Tool for JSON Slinging

    5
    By robbychess
    Can't live without this app. Editing, validating is great, but dragging collapsed nodes to reorder is something a text editor will never match. I'd love to see 2 things: Multiple selection (which sounds like it's coming in v1.5) and the ability to customize the columns a bit more – like reorder them and even hide/show the "Type" column which sometimes gets in the way when browsing large data sets. Also, maybe some colorizing? Thanks for a great app!
  • Disappointed

    1
    By Bill.11743
    It is either buggy or a really bad user interface. I have spent an hour trying to figure out how to change ItemN keys to what I want them. If I switch back and form between the tree view and text view keys disappear. The user interface is not intuitive and there is no supporting documentation.
  • Buggy

    2
    By _NM_
    Can't figure out why objects are handled as array entries ... Works fine for validation and viewing. Easier to just edit the file in an editor. When I edit the file in a text editor, add objects, etc. and reopen, then the syntax checks out OK. But objects, etc. added, I can't rename.
  • The Missing Link

    5
    By Dave Naz
    I have been writing the backend of a REST server. This app is exactly what I was looking for to test my code. You can create a whole list of HTTP Rest calls (POST). This app has made my life so much easier. You can create custom POST calls as well as easily edit JSON for those calls. Two thumbs up.
  • Has issues with large files

    3
    By Dig4356
    This worked great for my smaller files, but I purchased it to find an issue with a file that was 10 mb and I kept getting the rainbow wheel until it was unresponsive.
  • Great utility!

    5
    By cgban
    Parses large json quickly, includes syntax highlighting and validation with animated error indicating! My only request would be for a splitscreen view. Currently you can view either the raw JSON or the visal tree, not both! 5 stars regardless.
  • Exactly what I needed!

    5
    By marklholloway
    I love this editor. Perfect compliment for any developer constantly working with JSON files.
  • This was the app I was looking for!

    5
    By sgspecker
    This was just the app I was looking for to edit and validate JSON data. I looked at a lot of apps, but this one really fit the bill. It’s easy to view and edit JSON. The app quickly converts JSON between “Tree” editor and “Text” editor mode. This makes it easy to paste JSON data in text mode and then convert to tree mode for validation and viewing. The app also has a great HTTP client which is useful for interacting with REST API in the Cloud. I’d used a couple of other HTTP clients, but this app - once again - really met my needs. And, I especially like the “Beautify” button on the HTTP Response dialog of the client. That really makes it easy to quickly view the data coming from the cloud. Finally, the author does a fantastic job with support. Quickly answering questions and adding new features. Highly rated app and author!
  • FIXED: “Input depth exceeds max depth of 32”???

    5
    By Tom Dibble
    UPDATE: Without the 32-deep limit, this is a great and fast viewer for JSON files. I was able to open a 100MB NewRelic stack trace JSON file in less than ten seconds, and navigate through the tree. Great work! Also it seems like preserving original formatting improved with this version as well. Previously when I had hand-coded JSON with semi-compact formatting, a round-trip through JSON Editor would move a bunch of braces to the next lines; now those are preserved. Overall: Very useful tool for both small and huge JSON files, responsive developer, and fills its niche well. Can’t find a fault in that! Suggestion: In the “duplicate” function, can custom formatting be preserved there? For instance, with this JSON (using ‘-‘ in place of spaces just in this review to keep formatting visible): { ----"main": { --------"foo”:-------{"value": 6}, --------"bar":-------{"value": 3} ----} } … if I dupllicate “bar” (right-click, select ‘duplicate’) then save, I get: { ----"main": { --------"foo":-------{"value": 6}, --------"bar":-------{"value": 3}, ----"bar - 2": { ------"value": 3 ----} --} } … that is, “bar - 2” loses the special formatting of “bar”, and the ‘}’ after it loses the indent it had had previously (adopts 2-space-per-level rather than the 4-space-per-level the input file had) Still, just a nit, and this update really made the application super-useful to me. Kudos and thanks! ORIGINAL: Not sure what the error “Input depth exceeds max depth of 32” might mean, other than that “32” seems like an arbitrarily low limit for something. Are you using an Int bitmask for something? Hopefully not object nesting depth (since that would seem very silly). I’m assuming it is because my file is too large or complex, but I can’t find any documentation on the tool or its limitations. In any case, it won’t let me view it in the tree and essentially leaves me in a plain text editor. I already have a lot of plain text editors, and this doesn’t seem to add any value there.

Comments

keyboard_arrow_up