Modding:JSON Patching: Difference between revisions
From Vintage Story Wiki
Craluminum (talk | contribs) (→The basics: Added addeach operation) |
Craluminum (talk | contribs) (Added move and copy operations) |
||
Line 19: | Line 19: | ||
* '''File''' is where the file you want to change is located. | * '''File''' is where the file you want to change is located. | ||
* '''Op''' stands for operation and it's what you want to do. Valid operations are '''add''', '''addeach''', '''remove''', and ''' | * '''Op''' stands for operation and it's what you want to do. Valid operations are '''add''', '''addeach''', '''remove''', '''replace''' '''move''' and '''copy'''. | ||
* '''Path''' is where the value you want to change in the file is located. | * '''Path''' is where the value you want to change in the file is located. | ||
* '''Value''' is what you want to put in the file. | * '''Value''' is what you want to put in the file. |