When to use JSON Merge Patch (RFC 7396) and when to use JSON Patch (RFC 6902) for HTTP PATCH: how each format handles nulls, arrays and nested objects, JSON Pointer escaping, the test operation for safe concurrent edits, status codes, and an Express endpoint that accepts both.