1 instantiation of JsonPatchDocument
Microsoft.AspNetCore.JsonPatch.SystemTextJson (1)
Converters\JsonPatchDocumentConverter.cs (1)
45return new JsonPatchDocument(ops, options);
19 references to JsonPatchDocument
Microsoft.AspNetCore.JsonPatch.SystemTextJson (19)
Converters\JsonPatchDocumentConverter.cs (5)
12internal class JsonPatchDocumentConverter : JsonConverter<JsonPatchDocument> 17public override JsonPatchDocument Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 19if (typeToConvert != typeof(JsonPatchDocument)) 21throw new ArgumentException(Resources.FormatParameterMustMatchType(nameof(typeToConvert), nameof(JsonPatchDocument)), nameof(typeToConvert)); 53public override void Write(Utf8JsonWriter writer, JsonPatchDocument value, JsonSerializerOptions options)
Converters\JsonPatchDocumentConverterFactory.cs (2)
14return typeToConvert == typeof(JsonPatchDocument) || 20if (typeToConvert == typeof(JsonPatchDocument))
JsonPatchDocument.cs (12)
52/// <returns>The <see cref="JsonPatchDocument"/> for chaining.</returns> 53public JsonPatchDocument Add(string path, object value) 66/// <returns>The <see cref="JsonPatchDocument"/> for chaining.</returns> 67public JsonPatchDocument Remove(string path) 81/// <returns>The <see cref="JsonPatchDocument"/> for chaining.</returns> 82public JsonPatchDocument Replace(string path, object value) 96/// <returns>The <see cref="JsonPatchDocument"/> for chaining.</returns> 97public JsonPatchDocument Test(string path, object value) 111/// <returns>The <see cref="JsonPatchDocument"/> for chaining.</returns> 112public JsonPatchDocument Move(string from, string path) 127/// <returns>The <see cref="JsonPatchDocument"/> for chaining.</returns> 128public JsonPatchDocument Copy(string from, string path)