invalid.toml 736 B

1234567891011121314151617181920212223242526272829303132333435
  1. # This is an INVALID TOML document. Boom.
  2. # Can you spot the error without help?
  3. title = "TOML Example"
  4. [owner]
  5. name = "Tom Preston-Werner"
  6. organization = "GitHub"
  7. bio = "GitHub Cofounder & CEO\nLikes tater tots and beer."
  8. dob = 1979-05-27T7:32:00Z # First class dates? Why not?
  9. [database]
  10. server = "192.168.1.1"
  11. ports = [ 8001, 8001, 8002 ]
  12. connection_max = 5000
  13. enabled = true
  14. [servers]
  15. # You can indent as you please. Tabs or spaces. TOML don't care.
  16. [servers.alpha]
  17. ip = "10.0.0.1"
  18. dc = "eqdc10"
  19. [servers.beta]
  20. ip = "10.0.0.2"
  21. dc = "eqdc10"
  22. [clients]
  23. data = [ ["gamma", "delta"], [1, 2] ] # just an update to make sure parsers support it
  24. # Line breaks are OK when inside arrays
  25. hosts = [
  26. "alpha",
  27. "omega"
  28. ]