Modding:JSON Patching: Difference between revisions

From Vintage Story Wiki
Added move and copy operations
(→‎The basics: Added addeach operation)
(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 '''replace'''.
* '''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.
Confirmedusers, editor
982

edits