JSON Editor Plugin

Add this URL to your Eclipse Installation to reach this solution's update site.

2018-09 (4.9)
Photon (4.8)
Oxygen (4.7)
Neon (4.6)
Mars (4.5)
Luna (4.4)
Kepler (4.3)

Juno (4.2, 3.8)
Previous to Juno (<=4.1)

Learn more...

Details Group Tabs


The JSON Editor is a simple plugin for the Eclipse IDE that

  • Supports every eclipse flavor (JavaEE, CDT, RCP, you name it!)
  • Supports eclipse version 3.7 - 4.8.0 and most probably later versions
  • Conforms to the JSON standard as defined in the RFC 4627 by D. Crockford
  • Deep Integration (File wizards, tree outline, preference pages)
  • Quick Outline with reg-ex support (CTRL + O)
  • Highly configurable code formatting (CTRL + SHIFT + F)
  • Custom syntax highlighting
  • Text folding and range
  • Detects duplicate keys
  • Reliable, resilient and fast syntax tree parsing and validation through ANTLR 4
  • Synchronized tree view and text editor
  • Available for free - that's a feature, isn't it?

Please report issues on our GitHub page: https://github.com/boothen/Json-Eclipse-Plugin

Additional Details
Eclipse Versions: 
Juno (4.2, 3.8), Previous to Juno (<=4.1), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3)
Platform Support: 
Windows, Mac, Linux/GTK
Organization Name: 
Date Created: 
Wed, 2009-06-03 11:17
Development Status: 
Date Updated: 
Sat, 2018-10-20 12:24
December 201840/8841092 (0.5%)15
November 201839/9393099 (0.5%)27
October 201834/9433355 (0.53%)38
September 201837/9412784 (0.53%)35
August 201835/9393015 (0.59%)18
July 201837/9402920 (0.54%)33
June 201837/9472814 (0.57%)32
May 201840/9542923 (0.53%)43
April 201836/9463141 (0.57%)46
March 201836/9613043 (0.55%)45
February 201838/9402345 (0.5%)32
January 201848/9452152 (0.43%)34
View Data for all Listings
External Install Button

Marketplace Drag to Install button

By adding the following code below to your website you will be able to add an install button for JSON Editor Plugin.

HTML Code:

Markdown Syntax:

Output: Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client
Tuesday, December 11, 2018 - 11:18
jmalvi's picture

I love this plugin  and also suggests to use jsonformatter.org/json-editor if you just want to use online.

asummersc2n's picture

Outline mine is a bit useless when you can't click a segment and relate it to the actual file, or even edit inside outline mode. Not sure why it's there other than looks pretty. End up having to CTRL-F to find the place in the file, and the menu for view options is completely lacking anything. 

msteiger4qy's picture

The linkage from the code view to the tree outline is active and functional. The other direction is currently disabled. So yes, you're right, clicking on the tree doesn't make the cursor jump to the right spot in the file.

This (small?) part still needs to be implemented so it works reliably and without infinite cycles between the two views. Should be doable, I'm just lacking the time for it, atm.

mlavigne68n's picture

Freezes Eclipse for a couple of seconds every time you try to close the Eclipse Preferences pane.
I've switched to Json Tools which seems better.

syagi's picture

There seems to be a major bug with the formatter when handling nested data structure like this:


After formatting (ctrl + shift + F), it looked like this:

    "foo": {
        "this": "that"

This is completely wrong because the dictionary "foo" is now having another dictionary within instead of a list. I observed this issue with whichever the version that came with Eclipse Neon.1a Release (4.6.1).

syagi's picture

My apologies. This comment was made in error, as this issue occurred on a different JSON plugin, not the JSON Editor plugin. I would delete the original comment if I could, but I'm not seeing where I could.

vvassiliev's picture

Very nice plugin, except the irritating automatic block selection after field edit. It is incredibly frustrating, and basically renders the whole plugin unusable. Is it possible to turn this "feature" off?

truark's picture

Decent plugin. It does basic json formatting and syntax highlighting, however it has one "feature" which renders it un-usable. It will randomly, seemingly without a pattern highlight entire blocks of json. So if you're typing this means that the entire block is replaced. Not an acceptable thing for a code editor to do!

aamerican6ki's picture

When using Dark Theme in Eclipse Neon there is a problem with some of the texts not been readables.

imgur . com/a/eTuIu

The blue hard to read, and the black, not the best option neither. I couldnt find any way to fix that in Eclipse itself.

jmisingnamersi's picture

i am using eclipse neon with this plugin and it works perfectly. I know, Eclipse neon has a JSON editor but it is very very basic, it does not sync with the Outline in huge JSON files. Thanks guys!

amisingnameeql's picture

I would like to incorporate this plugin into my own plugin which is open source. Does this plugin have APIs for that?

cbarrett2mi's picture

I just downloaded this editor, and can already tell it will help a great deal. However, I'm running into a fairly substantial usability problem. Whenever I'm typing, and pause for even a short amount of time (< 1 sec), the editor will select either the line I'm typing on, or the entire JSON object. Then, when I resume typing, it of course replaces the entire contents of the selection. Constantly finding myself executing an undo, and placing the cursor back at the position where I paused typing.

Is there any way to disable this autoselection?

Here's my env:

Eclipse Java EE IDE for Web Developers.
Version: Mars.2 Release (4.5.2)
Build id: 20160218-0600

Mac OS X Version 10.11.5

Java 1.8.0_92

sxuezhi's picture

This plugin is so good, thank you very much for your excellent work!
But I have a little problem, when the size of JSON file getting bigger, it is so difficult to type contents to the file, it will be stuck for validation work, is it possible to add an optional validation feature? or a switch to turn off the validation. Thank you.

msteiger4qy's picture

I need some more info to test this. What version are you using? How big is your file? Please file an issue at https://github.com/boothen/Json-Eclipse-Plugin if the problem exists for version 1.0.0 or higher.

eclipseorg7x6's picture

Every time I type JSON it freezes the complete editor for ~10 seconds (or never returns from freezing state). Maybe stuck with validation?! I had to uninstall it :(

msteiger4qy's picture

Thanks for your feedback. We need some info to reproduce the issue. What version of eclipse/JSON Editor are you using? What file did you edit?

rilligo1a's picture

In this JSON Editor Plugin, the following things are not good:

* Pressing Ctrl+Shift+F doesn’t format the JSON data
* Editing text is very slow, even for JSON data that is only 23kB in size
* The outline view shows “Error” when the JSON is well-formed

msteiger4qy's picture

Thank you for your feedback. All three issues should be fixed with 1.0.0.final - cheers!

akumar4jb's picture

In STS i create a file name test.json but when i am trying to save it raising exception like "Save Failed
java.lang.NullPointerException". what i supposed to do??

aalonso's picture

I'm using it on Eclipse Standard Keppler R2.
No matter what content I try to validate, it spams an OK message.
Does it happens only to me?

sheider's picture

Same problem here on Eclipse Luna SR1: The validation always issues an OK message, no matter how many errors there are in the JSON file. The formatter is also not usable.
I uninstalled the plugin...

svalanjood1h's picture

I am using Ubuntu 13.04 (Kernel 3.5.44) Unfortunately, this plug in starts acting up and does not allow the json file to be saved with a NullPointerException (no further info provided by Eclipse). It hampered my delivery efforts.

Be very careful, if you are using Ubuntu. I was able to isolate the problem as it was only json files that were showing "dirty flag" with an asterisk where it shows the file name in a tab above.

achan7qc's picture

I'm using Win 8.1.

phaugen's picture

8.1 is fine with the correct plugin to enable this.

pverest's picture

Your Eclipse needs to have MPC marketplace client for that.

ycav's picture

Full message:
Unable to open external editor D:\eclipse\plugins\jsonedit-core_0.9.6.jar

Using Version: Kepler Release Build id: 20130614-0229 on Windows 7 64 bit

mthomas1nd's picture

Was worried about trying the plugin given the earlier feedback.

However, after installing it, it works and didn't give any issues.

Good Job

mmisingnameq6o's picture

Flags scientific notation as error.

btechnology's picture

This issue should be fixed in the current release.

mmisingnamerss's picture

In my system, with

Win XP SP3

Java JDK 1.6

Eclipse Helios 3.6

the JSON editor plugin 0.9.4 led to instability that crashed Eclipse often. I wasn't easily able to diagnose it, but this has been a less stable version of Eclipse all around than my last one.

mmisingname1q6's picture

This plugin is completey flawed!
I tried it on Eclipse 3.4.2 and after a few seconds eclipse's windows went white, all the menus disappeared and I couldn't even close it down.
Don't use it!