Json Tools

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

Mars (4.5)
Luna (4.4)
Kepler (4.3)
Juno (4.2, 3.8)
Previous to Juno (<=4.1)
Neon (4.6)

Learn more...

Details Group Tabs

db bug's picture

No problem installing the plugin with the drag and drop feature.

Jan Skarvall's picture

When formatting, the formatted file is automatically saved. This is a behaviour that is not consistent with how e.g. Java formatting behaves.

db bug's picture

Saving after formating ... Still the case, not saving would be great !
And "*.json" files were still opened with JavaScript Editor, default had to be changed in Eclipse preferences. Not a big deal ...

Fred Vogt's picture

Eclipse:
java.io.IOException: bitbucket.org /denmiroch/jsontools/src/default/JsonSite/ is not a valid repository location.

Instead I had to use the "raw" view of site.xml:
Help -> Install New Software... -> [Add] button
https:// bitbucket.org /denmiroch/jsontools/raw/ae2e9d683249ef989d940b441e00b74df729164c/JsonSite/site.xml

W. Craig Trader's picture

The current update site (---) as managed by the Atlassian tools can not be used by Eclipse 4.5 (Mars). When Eclipse tries to load the site.xml file, instead of getting the actual XML content, it's getting an unparseable mess of HTML. To see this in practice, use wget to load ---/site.xml and then look at the resulting site.xml file.

Manual installation (as described here: ---) should still work.

Yasuhiro Endoh's picture

I can not install this plugin. The followin messages are shown:

Unable to read repository at https ://bitbucket.org/denmiroch/jsontools/default/JsonSite/
https ://bitbucket.org/denmiroch/jsontools/default/JsonSite/ is not a valid repository location.

W. Craig Trader's picture

Go to https ://bitbucket.org/denmiroch/jsontools/wiki/Home and use the manual installation instructions; the update site is hosed by BitBucket at the moment.

Bharat Pahalwani's picture

Please mention command to format the JSON text or file.

Andrzej Rehmann's picture

Nice plugin but it only supports one JSON in .json file :(
I know only one json should be in one file but I have multiple JSONS in a file...
When I try to reformat my JSON it format first json and deletes the rest ;D That's a bummer ;(

Anyway this plugin works and is super fast 5/5

Paul Verest's picture

Json Tools is better than JSON Editor Plugin. It shows index for array items and long HTM inside strings is processed correctly. Also it s much quicker and more responsive. I started using in Eclipse Luna and Enide Studio 2014.