Skip to content

net.kernelpanicsoft.archie.config.serializer

Types

Json5ConfigSerializer

IConfigSerializer for the JSON5 format (JSON with comments). Archie's default on Fabric.

JsonConfigSerializer

IConfigSerializer for plain JSON (no comments). Not used by default on any platform - opt in explicitly by overriding ConfigSpec.fileSerializer.

NullConfigSerializer

No-op IConfigSerializer: load and save do nothing, and the string-based methods all throw. Useful as a ConfigSpec.fileSerializer override for a spec that should never persist to disk (e.g. an in-memory-only or test config).

TomlConfigSerializer

IConfigSerializer for the TOML format. Archie's default on NeoForge.