Object (Data Type)
A piece of data made of several fields. Objects are enclosed in curly braces and contain "key": value entries separated by commas.
Examples
{
"field_name": {
"field_1": "value_1",
"field_2": 3,
"field_3": [
"array_value_1",
"array_value_2"
]
}
}An object with a String field, an Integer field and an Array of strings.
"effect": {
"effect": "minecraft:slowness",
"amplifier": 1,
"duration": 80
}An object in the format of a Status Effect Instance, for Slowness II lasting 4 seconds.