What is the issue?
I am trying to enable patching in my ASP.net web api app. I\'m using code first entity framework.
I have the following me
Interesting, it looks like Delta with int members doesn't work in JSON.
Unfortunately, Delta was created specifically for OData. If Delta appears to be working with any formatter other than OData, it's a coincidence rather than being intentional.
The good news though is that there's nothing stopping you from defining your own PATCH format for JSON, and I'd be surprised if no one has already written one that works better with Json.NET. It's possible that we'll revisit patching in a future release of Web API and try to come up with a consistent story that works across formatters.