JsonPatcher Docsbeta

JsonPatcher Docs

This website documents v2 of the JsonPatcher language and standard library. Users of v1 should consider using the old wiki instead. This page is primarily targeted for people who already have some programming experience and may be difficult to follow otherwise.

The language is a pretty standard c-like language with a few unique features. You can check out some examples in the test mod for some examples of what the language looks like and how to use it. This wiki mostly contains information on how individual language features work.

Before using the mod I recommend reading the IDE support page. It includes information on how to set up a VSCode extension for JsonPatcher, which will help tremendously with writing patches.

To create your first patch, check out the Creating a Patch page. After that you'll want to learn more about the language. Some pages that are a good place to start are:

You might also want to read up on the symbol pages to see what functions are available, as well as Statements to see the syntax for different statements.