JsonPatchDocument<TModel> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
generic <typename TModel>
where TModel : classpublic ref class JsonPatchDocument : Microsoft::AspNetCore::JsonPatch::IJsonPatchDocument
[Newtonsoft.Json.JsonConverter(typeof(Microsoft.AspNetCore.JsonPatch.Converters.TypedJsonPatchDocumentConverter))]
public class JsonPatchDocument<TModel> : Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument where TModel : class
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.AspNetCore.JsonPatch.Converters.TypedJsonPatchDocumentConverter))>]
type JsonPatchDocument<'Model (requires 'Model : null)> = class
interface IJsonPatchDocument
Public Class JsonPatchDocument(Of TModel)
Implements IJsonPatchDocument
Type Parameters
- TModel
- Inheritance
-
JsonPatchDocument<TModel>
- Attributes
-
Newtonsoft.Json.JsonConverterAttribute
- Implements
Constructors
JsonPatchDocument<TModel>() | |
JsonPatchDocument<TModel>(List<Operation<TModel>>, IContractResolver) |
Properties
ContractResolver | |
Operations |
Methods
Explicit Interface Implementations
IJsonPatchDocument.GetOperations() |
Extension Methods
ApplyTo<T>(JsonPatchDocument<T>, T, ModelStateDictionary) |
Applies JSON patch operations on object and logs errors in ModelStateDictionary. |
ApplyTo<T>(JsonPatchDocument<T>, T, ModelStateDictionary, String) |
Applies JSON patch operations on object and logs errors in ModelStateDictionary. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for