Preparing for system design interviews?  Try bugzed.com →

Mojangson Parser for Node.js

JSON →
library 2.0.4 ·javascript
verified Jun 17, 2026

Mojangson is a JavaScript library for parsing, simplifying, stringifying, and normalizing Mojangson (Minecraft's data tag format). It provides functionality to convert Mojangson strings into JavaScript objects, and vice-versa, handling its unique deviations from standard JSON. Key differences include support for indexed arrays, trailing commas in arrays and objects, unquoted strings (for keys and values), and numbers with type suffixes (e.g., `5b`, `100l`). The current stable version is 2.0.4. Releases are infrequent, focusing on bug fixes and grammar improvements. This library differentiates itself by accurately implementing the specific Mojangson grammar, making it essential for applications interacting with Minecraft's NBT data tags or command syntax, where standard JSON parsers would fail due to the non-standard syntax.

total hits 10
actors 3 distinct systems
last hit 16d ago AhrefsBot
GPTBot
4
Script
1
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore · 🇩🇪 Germany