JSON Editor Plugin

Add this URL to your Eclipse Installation to reach this Solution's Update Site.

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

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!