
Jankson
Jankson is a popular library in the Fabric ecosystem that provides a convenient way to work with JSON data. Unlike Minecraft's built-in Gson, Jankson is more forgiving of human errors: forgotten commas are overlooked, and comments are allowed. When a mod is updated with new keys, the library preserves user-written comments in existing files.
Jankson is also a full JSON5 parser, allowing the use of hexadecimal numbers and splitting long strings across multiple lines. The library is packaged as a standalone mod and utilizes Fabric's Jar-in-Jar feature, making it easier to use and distribute. It comes Fabric-ready with preloaded serializers and deserializers for many Minecraft types.