Wiki ArticleJava Edition technicalBedrock EditionDevelopment

JSON

JavaScript Object Notation (JSON) is a lightweight data-interchange format. It consists of key-value pairs and arrays values, and is used for storing and transmitting data in Minecraft.

In Minecraft, JSON format is used to store the following data:

A JSON file must contain a single JSON value, which can use any of the following five data types: string, number, object, array, and boolean. JSON files can be contained in a single line, however it is often useful to use indentation and line breaks to make a long JSON file more readable.

Complete article available

This cached Wiki page is unusually large, so it is loaded on demand to keep the initial page fast.