Modding:JSON Patching: Difference between revisions

From Vintage Story Wiki
Clarify that add can replace existing values
(Describe addmerge operation)
(Clarify that add can replace existing values)
Line 123: Line 123:
]
]
</syntaxhighlight>
</syntaxhighlight>
That's all you have to do. If there's already an enabled label in the file then we'd need to switch op from add to replace.
That's all you have to do. If there's already an enabled label in the file, then the "add" operation will replace it.


=== Targeting server or client assets ===
=== Targeting server or client assets ===
Confirmedusers
510

edits