3 writes to path
Microsoft.AspNetCore.JsonPatch (3)
JsonPatchDocument.cs (1)
212untypedOp.path = op.path;
JsonPatchDocumentOfT.cs (1)
648path = op.path,
Operations\OperationBase.cs (1)
59this.path = path;
21 references to path
Microsoft.AspNetCore.JsonPatch (14)
Adapters\ObjectAdapter.cs (11)
63Add(operation.path, operation.value, objectToApplyTo, operation); 111Add(operation.path, 123Remove(operation.path, objectToApplyTo, operation); 159var parsedPath = new ParsedPath(operation.path); 165var error = CreatePathNotFoundError(objectToApplyTo, operation.path, operation, errorMessage); 172var error = CreateOperationFailedError(objectToApplyTo, operation.path, operation, errorMessage); 190Add(operation.path, 197var error = CreateOperationFailedError(objectToApplyTo, operation.path, operation, Resources.FormatCannotCopyProperty(operation.from)); 209var parsedPath = new ParsedPath(operation.path); 215var error = CreatePathNotFoundError(objectToApplyTo, operation.path, operation, errorMessage); 222var error = CreateOperationFailedError(objectToApplyTo, operation.path, operation, errorMessage);
JsonPatchDocument.cs (1)
212untypedOp.path = op.path;
JsonPatchDocumentOfT.cs (1)
648path = op.path,
Operations\OperationBase.cs (1)
24[JsonProperty(nameof(path))]
Microsoft.AspNetCore.JsonPatch.Tests (2)
JsonPatchDocumentJsonPropertyAttributeTest.cs (2)
23var pathToCheck = patchDocument.Operations.First().path; 56var toPath = patchDocument.Operations.First().path;
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (5)
NewtonsoftJsonPatchInputFormatterTest.cs (5)
52Assert.Equal("Customer/Name", patchDocument.Operations[0].path); 92Assert.Equal("Customer/Name", patchDocument.Operations[0].path); 122Assert.Equal("Customer/Name", patchDocument.Operations[0].path); 146Assert.Equal("Customer/Name", patchDocument.Operations[0].path); 149Assert.Equal("Customer/Name", patchDocument.Operations[1].path);