프로퍼티 | 타입 | 설명 | |
---|---|---|---|
IJsonPatchDocument | IList |
메소드 | 설명 | |
---|---|---|
Add ( string path, object value ) : |
Add operation. Will result in, for example, { "op": "add", "path": "/a/b/c", "value": [ "foo", "bar" ] }
|
|
ApplyTo ( object objectToApplyTo ) : void |
Apply this JsonPatchDocument
|
|
ApplyTo ( object objectToApplyTo, Action |
Apply this JsonPatchDocument
|
|
ApplyTo ( object objectToApplyTo, IObjectAdapter adapter ) : void |
Apply this JsonPatchDocument
|
|
Copy ( string from, string path ) : |
Copy the value at specified location to the target location. Willr esult in, for example: { "op": "copy", "from": "/a/b/c", "path": "/a/b/e" }
|
|
JsonPatchDocument ( ) : System | ||
JsonPatchDocument ( List |
||
Move ( string from, string path ) : |
Removes value at specified location and add it to the target location. Will result in, for example: { "op": "move", "from": "/a/b/c", "path": "/a/b/d" }
|
|
Remove ( string path ) : JsonPatchDocument |
Remove value at target location. Will result in, for example, { "op": "remove", "path": "/a/b/c" }
|
|
Replace ( string path, object value ) : JsonPatchDocument |
Replace value. Will result in, for example, { "op": "replace", "path": "/a/b/c", "value": 42 }
|
메소드 | 설명 | |
---|---|---|
IJsonPatchDocument ( ) : IList |
public Add ( string path, object value ) : |
||
path | string | target location |
value | object | value |
리턴 |
public ApplyTo ( object objectToApplyTo ) : void | ||
objectToApplyTo | object | Object to apply the JsonPatchDocument to |
리턴 | void |
public ApplyTo ( object objectToApplyTo, Action |
||
objectToApplyTo | object | Object to apply the JsonPatchDocument to |
logErrorAction | Action |
Action to log errors |
리턴 | void |
public ApplyTo ( object objectToApplyTo, IObjectAdapter adapter ) : void | ||
objectToApplyTo | object | Object to apply the JsonPatchDocument to |
adapter | IObjectAdapter | IObjectAdapter instance to use when applying |
리턴 | void |
public Copy ( string from, string path ) : |
||
from | string | source location |
path | string | target location |
리턴 |
public JsonPatchDocument ( List |
||
operations | List |
|
contractResolver | IContractResolver | |
리턴 | System |
public Move ( string from, string path ) : |
||
from | string | source location |
path | string | target location |
리턴 |
public Remove ( string path ) : JsonPatchDocument | ||
path | string | target location |
리턴 | JsonPatchDocument |
public Replace ( string path, object value ) : JsonPatchDocument | ||
path | string | target location |
value | object | value |
리턴 | JsonPatchDocument |