String

Data Type

A piece of text. Has to be enclosed by quotation marks. Please note that if there are supposed to be quotation marks within the text itself, they need to be escaped with a backslash. (\)

Examples

{
    "field_name": "You should not sleep here!"
}

A simple text.

{
    "type": "origins:execute_command",
    "command": "give @s minecraft:iron_axe{display:{Name:'{\"text\":\"Brutal Axe\", \"italic\": false}'}}"
}

A string to specify a command, which includes escaped quotation marks.