Marvin.JsonPatch.Dynamic adds support for dynamically typed objects to Marvin.JsonPatch. This means that you can now effectively add, remove, ... properties at runtime.
Marvin.JsonPatch was built to work on statically 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 0.9.0
dotnet add package Marvin.JsonPatch.Dynamic --version 0.9.0
<PackageReference Include="Marvin.JsonPatch.Dynamic" Version="0.9.0" />
paket add Marvin.JsonPatch.Dynamic --version 0.9.0
- Marvin.JsonPatch (>= 0.9.0)
This package is not used by any popular GitHub repositories.