Skip to content
Albert Tregnaghi edited this page Sep 8, 2020 · 3 revisions

Why another JSON editor plugin?

There exists a very good JSON editor plugin on eclipse marketplace.

But I had some issues with speed/performance when it comes to bigger JSON files and especially when having JSON files without new line characters.

For example: when fetching origin report data from security products used in https://github.com/daimler/sechub many data is without new lines and this is normally terrible for eclipse editors, because highlighting does extreme slow down! Waiting more than 2 minutes for an editor to come alive (eclipse frozen) was no option…​

So I was in the situation to either contribute to existing JSON editor plugin or to write a new one. Some of my thoughts to solve the performance problems were …​ very creative …​ and I was not sure if this would fit everybodys need and would be okay to integrate into existing solution. Also I needed a solution as soon as possible, so decided to write a new plugin.

Why is this editor faster rendering JSON than other eclipse plugins?

  • One liners having more than x (x=currently 1000 characters but not at least 5 new line characters, will be automatically pretty printed. This will extremely speed up editor behaviour!

  • Outline will be disabled per default and must be enabled when needed (in outline view)

  • Uses https://github.com/FasterXML/jackson to do JSON operations, so very fast

Clone this wiki locally