Modscraper Modscraper Minecraft
Abstract Operations logo

Abstract Operations

Mod

Json <-> NBT interchange library

Type

Mod

Modrinth Downloads

10,321

Modrinth ID

cHG5nudH

Last Updated

Aug 22, 2026

Description

a library for easy and lossless interchange between JSON and NBT.

provides a class GenericX for each NbtX (GenericCompound extends HashMap, GenericList extends ArrayList), each supporting functions json()l, nbt(), and map(func) allowing conversion or tree mapping.

supplies a DynamicOps instance (GenericOps) made for easy conversion from json and nbt to generic, with flags to patch the formats to allow lossless conversion. with patchjson enabled, number sizes can be specified in-json by providing a string eg "10b" in the same format as snbt number tags, and lists of numbers are automatically translated to number arrays. patchnbt translates bytes 0-1 into booleans.

versions 1.1.0 and higher also provide explicit support for wispforest's Endec library

reference source for details!

Compatibility

Mod Loaders

Fabric Forge Neoforge Quilt

Game Versions

1.20.1 1.21 1.21.1

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

Included in Modpacks (1)

External Resources