...

Text file src/github.com/BurntSushi/toml/internal/toml-test/tests/valid/spec/array-0.toml

Documentation: github.com/BurntSushi/toml/internal/toml-test/tests/valid/spec

     1integers = [ 1, 2, 3 ]
     2colors = [ "red", "yellow", "green" ]
     3nested_arrays_of_ints = [ [ 1, 2 ], [3, 4, 5] ]
     4nested_mixed_array = [ [ 1, 2 ], ["a", "b", "c"] ]
     5string_array = [ "all", 'strings', """are the same""", '''type''' ]
     6
     7# Mixed-type arrays are allowed
     8numbers = [ 0.1, 0.2, 0.5, 1, 2, 5 ]
     9contributors = [
    10  "Foo Bar <foo@example.com>",
    11  { name = "Baz Qux", email = "bazqux@example.com", url = "https://example.com/bazqux" }
    12]

View as plain text