DeltaJSON is a REST API that takes two or more JSON files, analyses their structure and then compares these files to identify the differences between them, returning the results in JSON or XML format.
DeltaJSONs algorithms work through JSON files, analysing their structure and matching up all the corresponding elements between them. DeltaJSON identifies all the differences in your content according to the various options you specify. It then returns them in a format which combines your original content with new metadata detailing the changes.
As a standalone tool or integrated into your test systems, DeltaJSON allows you to perform reliable regression testing and change tracking. Its out-of-the-box functionality is easy to embed in your own applications, including JSON differencing, merging and patching.
Unlike JSON comparison tools that are solely line by line, DeltaJSON works within the structure of your files to identify real change.
Small differences in complex JSON structures can adversely affect the behaviour of simpler comparison tools, which often return incorrect results. DeltaJSON uses sophisticated content analysis to help align objects and therefore create comparison results that are more accurate and easier to interpret, saving valuable time.
Many JSON formats have arrays where the order of items is not significant. Changes in the order of such items can cause simpler comparison tools to mark these as changes in the result, making it difficult or impossible to see what has really changed. DeltaJSON can ignore the order of array items to overcome this issue.
DeltaJSON’s ‘Graft’ service uses a DeltaJSON compare result to apply the same changes to another JSON input. This service is far more useful than a standard patch which can only apply a patch to the original file. Graft is a smarter patch that works just the way you hoped a patch would work – to patch any file with your changes.
DeltaJSON’s structured comparison process means automated merging of JSON data produces merge results that you can make sense of. You stay in control as the three-way merge result identifies conflicts that can be resolved either automatically, manually, or with further processing.
With JSON files coming in all different sizes, we’ve put our application to the test and it didn’t disappoint. DeltaJSON has been tested successfully with input files of 10MB and over.
DeltaJSON comparison and merge results are valid JSON. DeltaJSON results can be easily post-processed to meet various business needs. Examples include: generating a visualisation of the differences, summarising differences in a table, or using information about differences to control some operation or transaction.
From our starter package to full enterprise plan pay for what you need, when you need it. Start a 30-day free trial of our professional plan today.
What is DeltaJSON?
DeltaJSON is a powerful toolkit for identifying and managing all the changes within JSON files. Its output is structured JSON, making it ideal for embedding into your web applications or as a stand-alone tool for testing or review.
How do I integrate or embed DeltaJSON?
DeltaJSON is designed for embedding into web applications and systems. It is implemented as a REST API and can be called remotely or run on the same server as your own software. JSON files and configuration details are passed through the REST API with the results then returned as a HTTP response.
Alternatively you can also use DeltaJSON via our web application.
Can I ignore changes I know about?
Yes, DeltaJSON’s REST API can be called by your own scripts and the results easily manipulated and presented in a browser allowing you to show the changes you need to know about and ignore those you don’t.
How is DeltaJSON different from other diff tools?
DeltaJSON is designed for developers and can be readily incorporated into your testing or review processes. Whether you need to verify the output of your own application or submit data files for review, its highly-structured comparisons make it easy to isolate unexpected changes or highlight changes in a browser.
How are found differences represented?
DeltaJSON output files are optimised for integration into your systems. It can generate a fully standards-compliant JSON patch, a JSON or XML document describing the changes alone, or generate a file with all the changes marked-up within the original JSON code.
JSON files and configuration details are passed through the REST API with the results returned as an HTTP response.
If you have a question you cannot find the answer to please complete the form below and we’ll get back to you as soon as possible.
Our DeltaJSON service is priced a little differently from our other products due to it being a SaaS service. Have a look above at our plans and start your 30-day free trial today.
If you need assistance with a product evaluation or you’re a customer with a technical question about any of our products please head over to our support portal.