4 writes to path
Microsoft.AspNetCore.JsonPatch.SystemTextJson (3)
JsonPatchDocument.cs (1)
212untypedOp.path = op.path;
JsonPatchDocumentOfT.cs (1)
649path = op.path,
Operations\OperationBase.cs (1)
59this.path = path;
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (1)
JsonPatchDocumentTest.cs (1)
251path = "/simpleObjectList/-",
16 references to path
Microsoft.AspNetCore.JsonPatch.SystemTextJson (14)
Adapters\ObjectAdapter.cs (11)
64Add(operation.path, operation.value, objectToApplyTo, operation); 113Add(operation.path, propertyValue, objectToApplyTo, operation); 122Remove(operation.path, objectToApplyTo, operation); 158var parsedPath = new ParsedPath(operation.path); 164var error = CreatePathNotFoundError(objectToApplyTo, operation.path, operation, errorMessage); 171var error = CreateOperationFailedError(objectToApplyTo, operation.path, operation, errorMessage); 189Add(operation.path, copyResult.ConvertedInstance, objectToApplyTo, operation); 193var error = CreateOperationFailedError(objectToApplyTo, operation.path, operation, Resources.FormatCannotCopyProperty(operation.from)); 205var parsedPath = new ParsedPath(operation.path); 211var error = CreatePathNotFoundError(objectToApplyTo, operation.path, operation, errorMessage); 218var error = CreateOperationFailedError(objectToApplyTo, operation.path, operation, errorMessage);
JsonPatchDocument.cs (1)
212untypedOp.path = op.path;
JsonPatchDocumentOfT.cs (1)
649path = op.path,
Operations\OperationBase.cs (1)
24[JsonPropertyName(nameof(path))]
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (2)
JsonPatchDocumentJsonPropertyAttributeTest.cs (2)
22var pathToCheck = patchDocument.Operations.First().path; 55var toPath = patchDocument.Operations.First().path;