{"id":88600,"date":"2026-06-05T04:32:04","date_gmt":"2026-06-05T01:32:04","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/jsonpatcher\/"},"modified":"2026-06-05T04:32:04","modified_gmt":"2026-06-05T01:32:04","slug":"jsonpatcher","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/jsonpatcher\/","title":{"rendered":"JsonPatcher"},"content":{"rendered":"<p># JsonPatcher<br \/>\n![Badge showing the amount of downloads on modrinth](https:\/\/modrinth.com\/mod\/jsonpatcher)<br \/>\n![Badge showing the amount of downloads on curseforge](https:\/\/www.curseforge.com\/minecraft\/mc-mods\/jsonpatcher)<br \/>\n![Badge linking to issues on github](https:\/\/github.com\/MattiDragon\/jsonpatcher\/issues)<br \/>\n![Badge linking to support on discord](https:\/\/discord.gg\/26T5KK2PBv)<\/p>\n<p>JsonPatcher is a mod that allows you to modify json files in datapacks and resourcepacks without overriding them.<br \/>\nThis is primarily useful for mod developers and pack makers, but can also be used by players to modify their own packs.<\/p>\n<p>## V2 Disclaimer<br \/>\nJsonPatcher v2 is currently in beta. V2 introduces a bunch of new features including global patches for mods and modpacks.<br \/>\nDocumentation for v2 is available at jsonpatcher-docs.mattidragon.dev.<br \/>\nThe documentation is however quite incomplete and partially outdated.<br \/>\nFor some cases it might be best to consult the old wiki instead.<\/p>\n<p>## Usage<\/p>\n<details>\n<summary>Gradle dependency (for mod developers)<\/summary>\n<p>You can add jsonpatcher to your mods buildscript like this:<br \/>\n&#8220;`groovy<br \/>\nrepositories {<br \/>\n    maven {<br \/>\n        url &#8216;https:\/\/jitpack.io&#8217;<br \/>\n    }<br \/>\n}<\/p>\n<p>dependencies {<br \/>\n    modImplementation(include(&#8220;com.github.mattidragon:jsonpatcher:${jsonpatcher_version}&#8221;))<br \/>\n}<br \/>\n&#8220;`<\/p>\n<\/details>\n<p>To begin using jsonpatcher, just create a file with the `.jsonpatch` extension<br \/>\nin the `data\/<namespace>\/jsonpatch` directory of your datapack<br \/>\nor `assets\/<namespace>\/jsonpatch` directory of your resourcepack.<\/p>\n<p>You&#8217;ll want to begin your patch with a `@version` meta tag like this.<br \/>\nThis will let jsonpatcher know that your patch will work with this version.<br \/>\nIn the future you may be able to select a version in more ways.<br \/>\n&#8220;`<br \/>\n@version &#8220;1&#8221;<br \/>\n&#8220;`<\/p>\n<p>Next you&#8217;ll want to select the files you want to patch.<br \/>\nThis is done with the `@target` meta tag. All meta tags follow a json format.<br \/>\nYou can either select a single file with a string, use an object for broader selections,<br \/>\nor use an array for multiple selections. If any selector in the array matches, the patch will apply.<\/p>\n<p>Now you can begin modifying the target file. The patch files use a c-like syntax.<br \/>\nYou can access the target files contents with `$`. It can be used like a variable,<br \/>\nor you can put the property you want to access directly after it.<\/p>\n<p>For more info on the language, see the wiki.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A tool for patching minecrafts json files, without overrding them, using a custom DSL<\/p>\n","protected":false},"featured_media":88601,"template":"","meta":{"_minecraft_slug":"jsonpatcher","_minecraft_project_id":"qlXnlZLG","_minecraft_author":"MattiDragon","_minecraft_license":"MIT","_minecraft_downloads":10354,"_minecraft_follows":11,"_minecraft_client_side":"optional","_minecraft_server_side":"optional","_minecraft_storage_type":"zip","_minecraft_archive_name":"jsonpatcher.zip","_minecraft_size_bytes":20438472,"_minecraft_version_count":36,"_minecraft_updated_at":"2026-05-16T05:35:34.004724Z","_minecraft_date_created":"2023-11-17T23:20:14.036250Z","_minecraft_date_modified":"2025-09-24T13:28:04.521512Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/jsonpatcher","_minecraft_icon_attachment_id":88601,"_minecraft_imported_at":"2026-06-05T01:32:04+00:00","_minecraft_import_hash":"0f24effb8d37a8ef30feabf04e467d93","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[97,873,126,98,92],"mod_loader":[99,100],"minecraft_version":[36,60,727,94,102,62,37],"class_list":["post-88600","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-fabric","mod_category-library","mod_category-management","mod_category-quilt","mod_category-utility","mod_loader-fabric","mod_loader-quilt","minecraft_version-1-20-1","minecraft_version-1-20-2","minecraft_version-1-20-3-pre2","minecraft_version-1-20-4","minecraft_version-1-20-6","minecraft_version-1-21","minecraft_version-1-21-1"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>JsonPatcher - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/jsonpatcher\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JsonPatcher - Minecraft\" \/>\n<meta property=\"og:description\" content=\"A tool for patching minecrafts json files, without overrding them, using a custom DSL\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/jsonpatcher\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/jsonpatcher\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/jsonpatcher\\\/\",\"name\":\"JsonPatcher - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/jsonpatcher\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/jsonpatcher\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/jsonpatcher-icon-774abb899c82630795e88dd4dd200ff64e787733_96.webp\",\"datePublished\":\"2026-06-05T01:32:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/jsonpatcher\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/jsonpatcher\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/jsonpatcher\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/jsonpatcher-icon-774abb899c82630795e88dd4dd200ff64e787733_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/jsonpatcher-icon-774abb899c82630795e88dd4dd200ff64e787733_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/jsonpatcher\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"JsonPatcher\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JsonPatcher - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/jsonpatcher\/","og_locale":"en_US","og_type":"article","og_title":"JsonPatcher - Minecraft","og_description":"A tool for patching minecrafts json files, without overrding them, using a custom DSL","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/jsonpatcher\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/jsonpatcher\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/jsonpatcher\/","name":"JsonPatcher - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/jsonpatcher\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/jsonpatcher\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/jsonpatcher-icon-774abb899c82630795e88dd4dd200ff64e787733_96.webp","datePublished":"2026-06-05T01:32:04+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/jsonpatcher\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/jsonpatcher\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/jsonpatcher\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/jsonpatcher-icon-774abb899c82630795e88dd4dd200ff64e787733_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/jsonpatcher-icon-774abb899c82630795e88dd4dd200ff64e787733_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/jsonpatcher\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"JsonPatcher"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/88600","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/88601"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=88600"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=88600"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=88600"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=88600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}