JSON Patch

Content Type: Module
Categories: Import/Export

Overview

JSON Patch is a format for describing changes to a JSON document. It can be used to avoid sending a whole document when only a part has changed. When used in combination with the HTTP PATCH method, it allows partial updates for HTTP APIs in a standards compliant way.

Documentation

 

Description

JSON Patch is a format for describing changes to a JSON document. It can be used to avoid sending a whole document when only a part has changed. When used in combination with the HTTP PATCH method, it allows partial updates for HTTP APIs in a standards compliant way.

Typical usage scenario

It can be used to avoid sending a whole document when only a part has changed, thus reducing network bandwidth requirements if data (in JSON format) is required to send across multiple systems over network or in case of multi DC transfer.

Features and limitations

Creates a patch comparing previous and current JSON

Applies patch to source JSON 

Dependencies 

  • Mx 9
  • zjsonpatch-0.4.14
  • jackson-*-2.13.4
  • commons-collection-3.2.2

Installation 

Mendix Module

Releases

Version: 1.0.0
Framework Version: 9.6.12
Release Notes: Java Library to find / apply JSON Patches according to RFC 6902. JSON Patch defines a JSON document structure for representing changes to a JSON document. It can be used to avoid sending a whole document when only a part has changed, thus reducing network bandwidth requirements if data (in JSON format) is required to send across multiple systems over network or in case of multi DC transfer. When used in combination with the HTTP PATCH method as per RFC 5789 HTTP PATCH, it will do partial updates for HTTP APIs in a standard way.