TOML テーブルを TOML 変数に入れ、その変数を別の TOML テーブルで使用できますか? 次のような JSON 出力を複製したいと思います。
group1 = {
"key1": "value1"
"key2": "value2"
"key3": {
"key1": "value4"
"key2": "value5"
"key3": "value6"
}
}
group2 = {
"key1": "value1"
"key2": "value2"
"key3": {
"key1": "value4"
"key2": "value5"
"key3": "value6"
}
}
mainGroup = {
"key1": "value1"
"key2": "value2"
"key3": group1
"key4": {
"key1": "value3"
"key2": "value3"
"key3": group2
}
"key5": {
"key1": group1
"key2": group2
}
}