Json? Yaml? Toml? Don't care turn it into the same type
-
Show this thread
-
-
Replying to @sgrif
doesn't support datetime which toml does. there's similarities but not every format supports the same stuff.
2 replies 0 retweets 0 likes -
Replying to @mgattozzi @sgrif
but toml doesn't support null which yaml and json do
1 reply 0 retweets 1 like -
Replying to @mgattozzi
Is there anything in the toml spec which relies on datetimes not being strings? Actually curious what the deserializer calls there since nothing in the serde data model matches unquoted strings.
2 replies 0 retweets 0 likes -
Replying to @sgrif @mgattozzi
Also I didn't realize that an iso8601 string with no quotes was a special data type in toml... Maybe minimal should be in quotes
1 reply 0 retweets 2 likes -
Replying to @sgrif @mgattozzi
Wow this originates from the commit "First draft of the TOML spec". Only hint to the reasoning for this is a comment in an example that says "first class dates? Why not!". FWIW at the time it didn't have "minimal" in the name at least
1 reply 0 retweets 2 likes -
Replying to @sgrif
Yeah it's definitely a string under the hood, but the toml crate turns it into a date time type
1 reply 0 retweets 1 like -
-
Replying to @sgrif
I've come to the conclusion after months of thinking and living configs, that all config formats are bad in some way and every time someone makes a new one it's just another bad config format.
1 reply 0 retweets 3 likes
I'm still of the opinion that TOML is great if you pretend that this date/time thing doesn't exist
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.