mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-30 02:20:00 +03:00
In the documentation it states that child values can override the parent values. Originally this code did not support that but now it does. Also added in testing inspired by the previous tests. Signed-off-by: cullvox <cullvox@outlook.com>
18 lines
No EOL
383 B
JSON
18 lines
No EOL
383 B
JSON
{
|
|
"description": [
|
|
{
|
|
"text": "Hello, ",
|
|
"color": "red",
|
|
"bold": true,
|
|
"italic": true,
|
|
"extra": [
|
|
{
|
|
"extra": "Component!",
|
|
"bold": false,
|
|
"italic": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"expected_output": "<font color=\"red\"><b><i>Hello, </i></b></font><font color=\"red\">Component!</font>"
|
|
} |