git.sr.ht/~pingoo/stdx@v0.0.0-20240218134121-094174641f6e/toml/internal/toml-test/tests/valid/inline-table/nest.toml (about)

     1  tbl_tbl_empty = { tbl_0 = {} }
     2  tbl_tbl_val   = { tbl_1 = { one = 1 } }
     3  tbl_arr_tbl   = { arr_tbl = [ { one = 1 } ] }
     4  arr_tbl_tbl   = [ { tbl = { one = 1 } } ]
     5  
     6  # Array-of-array-of-table is interesting because it can only
     7  # be represented in inline form.
     8  arr_arr_tbl_empty = [ [ {} ] ]
     9  arr_arr_tbl_val = [ [ { one = 1 } ] ]
    10  arr_arr_tbls  = [ [ { one = 1 }, { two = 2 } ] ]