JSON Patches lib is a Vintage Story mod by VSCustodian and Maltiez. JSON Patches lib expands Vintage Story asset patching with priorities, wildcards, regexes, matching paths, and extra operations.

Why this mod is worth installing
This library is useful for modders who need to edit many JSON assets precisely or patch existing patches without rewriting whole files.
What JSON Patches lib adds
JSON Patches lib is a dependency-style library rather than a content mod. It adds a separate jsonpatches folder and processes its files before vanilla patches, so a mod can influence both game assets and later patch results.
Patch definitions gain priorities and broader file targeting. A file path can use wildcards or regular expressions, while paths inside JSON support wildcard, regex, property, range, exact-index, and all-index matching.
The library extends the available operations with AddEach, AddMerge, and Expression alongside familiar add, replace, remove, copy, and move actions. Values can also help select elements for removal, making bulk edits such as adding traits or filtering item variants more practical.
Where to download JSON Patches lib
The official Vintage Story Mod DB page is the right place to get the current release through the in-game mod manager.