6 references to Replace
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (6)
IntegrationTests\AnonymousObjectIntegrationTest.cs (1)
88
patchDocument.
Replace
("StringProperty", "AnotherStringProperty");
IntegrationTests\DictionaryIntegrationTest.cs (3)
90
patchDocument.
Replace
("/DictionaryOfStringToInteger/two", 20);
282
patchDocument.
Replace
($"/DictionaryOfStringToCustomer/{key1}/Name", "James");
306
patchDocument.
Replace
($"/DictionaryOfStringToInteger/Foo~1Name", 300);
IntegrationTests\ListIntegrationTest.cs (1)
201
patchDocument.
Replace
("IntegerList", new Collection<int>() { 4, 5, 6 });
IntegrationTests\SimpleObjectIntegrationTest.cs (1)
120
patchDocument.
Replace
("GuidValue", newGuid);