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