Side by side JSON diff with the npm jsoneditor package

1.5k views Asked by At

I'm looking for something like this: enter image description here

using the jsoneditor npm package.

I haven't managed to find any side-by-side compare or "diff" mode in the API.

Does anyone know if this is already supported in the package?

Or of another package they'd recommend which provides the side-by-side diff?

Otherwise it looks like I'll have to run the json through a separate diff package and based on the output use the underlying ACE editor's highlight API to emulate the jsoneditoronline diff functionality.

Any recommendations on the above points would be greatly appreciated.

1

There are 1 answers

0
Adi Oz On BEST ANSWER