JSON is basically perfect if it allowed trailing commas and comments. TOML is not a replacement for JSON because of how badly it chokes on nested lists of objects (being both hard to read and hard to write), due to a misguided attempt to avoid becoming JSON-like[1]. [1] https://github.com/toml-lang/toml/issues/516
https://github.com/avakar/pytoml/issues/15#issuecomment-2177...
Datetimes were clearly a mistake to include too. It took the M out of TOML.