Marvin.JsonPatch.Dynamic adds support for dynamically typed objects to Marvin.JsonPatch.
Marvin.JsonPatch was built to work on staticly typed objects, which is great for most cases. Yet sometimes you'll want to create a patch document without having a static type to start from (for example: when integrating with a backend that's out of your control), or you'll want to apply a JsonPatchDocument to a dynamic object, or an object that has a property which isn't statically typed.
That's what this component takes care of. It extends Marvin.JsonPatch with new methods on JsonPatchDocument, and it allows you to apply the JsonPatchDocument to dynamically typed objects.
See the version list below for details.
Install-Package Marvin.JsonPatch.Dynamic -Version 1.0.0
dotnet add package Marvin.JsonPatch.Dynamic --version 1.0.0
<PackageReference Include="Marvin.JsonPatch.Dynamic" Version="1.0.0" />
paket add Marvin.JsonPatch.Dynamic --version 1.0.0
Most notable changes in this version: JsonProperty attribute support when (de)serializing a JsonPatchDocument, support for injecting a custom ContractResolver. For the full change list, have a look at the v1.0.0 milestone at the project site.
- Marvin.JsonPatch (>= 1.0.0)
This package is not used by any popular GitHub repositories.