JSON Compare Adds New Graft Feature

Graft

We are happy to announce a new feature for JSON Compare – Graft. We consider Graft to be a more robust and extensible version of JSON Patch. You can generate (and customise) a changeset which can be applied to a Graft target.

Consider this example – a company’s phone system with configuration stored in JSON. You’ve hired some new employees and need to add their details to everyone’s phonebook. However, each phone’s configuration file is slightly different. You can generate a full-context JSON Delta from one phone’s configuration to an updated version with the new phone numbers. This is used as the “Changeset” when using our Graft tool to apply these changes to the various other configuration files.

Our Graft tool uses the same Array Alignment and Word By Word options as our other operations. We have also added an “Output Mode” to control resolving conflicts.

You can learn more about Graft in our documentation.

Samples

We have updated our sample Java command line client to use the new Graft feature, available from our Bitbucket account. We are also working on expanding the sample portfolio including a .NET client, and a JavaScript sample demonstrating handling our Delta results.

Other News

We have improved the Word By Word behaviour for Two-Way Merge – it now behaves similar to Compare, with modifications within strings being handled individually as opposed to selecting the whole string of one input.

Keep Reading

Everything Great About DeltaJSON

/
Accessible through an intuitive online GUI or REST API, DeltaJSON is the complete package for managing changing JSON data. Learn everything about makes DeltaJSON great.

Simplifying Your JSON Management Experience with DeltaJSON

/
DeltaJSON simplifies JSON data management with the introduction of an NPM package.

Introducing ConversionQA

ConversionQA is introduced as a solution to comparing content across different XML formats, addressing scenarios like content conversion and restructuring documents.

Mastering Table Comparison & Merging: What’s New in XML Merge 11.0.0

XML Merge (11.0.0) and DITA Merge (7.0.0) introduce an enhanced table comparison.

Making Tax Digital: Embracing XML Technology for HMRC Compliance

The Making Tax Digital (MTD) initiative by HMRC aims to digitise the UK tax system, but what does that mean for UK businesses?

Best Practices for Managing XML Configurations in System Administration

Effective management of XML configurations is crucial for system administrators.

The Crucial Role of XML and JSON in Modern Air Traffic Control Operations

XML and JSON play a crucial role in modern air traffic control, facilitating efficient systems.