Share via


JsonPatchDocument 클래스

정의

public ref class JsonPatchDocument : Microsoft::AspNetCore::JsonPatch::IJsonPatchDocument
[Newtonsoft.Json.JsonConverter(typeof(Microsoft.AspNetCore.JsonPatch.Converters.JsonPatchDocumentConverter))]
public class JsonPatchDocument : Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.AspNetCore.JsonPatch.Converters.JsonPatchDocumentConverter))>]
type JsonPatchDocument = class
    interface IJsonPatchDocument
Public Class JsonPatchDocument
Implements IJsonPatchDocument
상속
JsonPatchDocument
특성
Newtonsoft.Json.JsonConverterAttribute
구현

생성자

JsonPatchDocument()
JsonPatchDocument(List<Operation>, IContractResolver)

속성

ContractResolver
Operations

메서드

Add(String, Object)

작업을 추가합니다. 예를 들어 { "op": "add", "path": "/a/b/c", "value": [ "foo", "bar" ] }

ApplyTo(Object)

이 JsonPatchDocument 적용

ApplyTo(Object, Action<JsonPatchError>)

이 JsonPatchDocument 적용

ApplyTo(Object, IObjectAdapter)

이 JsonPatchDocument 적용

ApplyTo(Object, IObjectAdapter, Action<JsonPatchError>)

이 JsonPatchDocument 적용

Copy(String, String)

지정된 위치에 있는 값을 대상 위치에 복사합니다. 예를 들어 { "op": "copy", "from": "/a/b/c", "path": "/a/b/e" }

Move(String, String)

지정된 위치에서 값을 제거하고 대상 위치에 추가합니다. 예를 들어 { "op": "move", "from": "/a/b/c", "path": "/a/b/d" }

Remove(String)

대상 위치에서 값을 제거합니다. 예를 들어 { "op": "remove", "path": "/a/b/c" }

Replace(String, Object)

값을 대체합니다. 예를 들어 { "op": "replace", "path": "/a/b/c", "value": 42 }

Test(String, Object)

테스트 값입니다. 예를 들어 { "op": "test", "path": "/a/b/c", "value": 42 }

명시적 인터페이스 구현

IJsonPatchDocument.GetOperations()

적용 대상