Interface ObjectPatch
public interface ObjectPatch
Format-agnostic interface for applying patches to objects. Implementations handle specific patch formats like
JSON Patch (RFC 6902) and JSON Merge Patch (RFC 7396).
- Author:
- James R. Perkins
-
Method Summary
Modifier and TypeMethodDescription<T> Tapply(T target) Apply this patch to the given target object.
-
Method Details
-
apply
<T> T apply(T target) Apply this patch to the given target object.- Type Parameters:
T- the type of the target object- Parameters:
target- the object to patch- Returns:
- the patched object
-