Skip to content

Implement JSON Patch & RFC Interoperability#21

Merged
brunoga merged 1 commit intomainfrom
feat/json-patch-interop
Feb 11, 2026
Merged

Implement JSON Patch & RFC Interoperability#21
brunoga merged 1 commit intomainfrom
feat/json-patch-interop

Conversation

@brunoga
Copy link
Owner

@brunoga brunoga commented Feb 11, 2026

Implemented a comprehensive set of features to ensure standard-compliant state manipulation and interoperability:

  • JSON Pointer Support (RFC 6901): Enabled absolute path resolution using standard pointers like '/path/to/item' across conditions and builder navigation.
  • JSON Patch Export (RFC 6902): Added ToJSONPatch() method to export any patch to standard-compliant JSON for external use.
  • Move & Copy Operations: Added full support for internal and external value transfers, including source removal for moves and full reversibility.
  • Atomic Test Operation: Added standard 'test' operation for pre-condition verification without state modification.
  • Soft Conditions: Introduced 'If' and 'Unless' logic to allow granular operation skipping based on document state.
  • Refactored internal application logic to support document-wide context, enabling complex operations like Move to work anywhere in the patch tree.
  • Improved robustness of basic type decoupling during snapshotting.
  • Increased total statement coverage to 81%.

Implemented a comprehensive set of features to ensure standard-compliant
state manipulation and interoperability:

- JSON Pointer Support (RFC 6901): Enabled absolute path resolution
  using standard pointers like '/path/to/item' across conditions and
  builder navigation.
- JSON Patch Export (RFC 6902): Added ToJSONPatch() method to export
  any patch to standard-compliant JSON for external use.
- Move & Copy Operations: Added full support for internal and external
  value transfers, including source removal for moves and full
  reversibility.
- Atomic Test Operation: Added standard 'test' operation for
  pre-condition verification without state modification.
- Soft Conditions: Introduced 'If' and 'Unless' logic to allow granular
  operation skipping based on document state.
- Refactored internal application logic to support document-wide
  context, enabling complex operations like Move to work anywhere in
  the patch tree.
- Improved robustness of basic type decoupling during snapshotting.
- Increased total statement coverage to 81%.
@brunoga brunoga merged commit f2fd3ff into main Feb 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant