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 @mgattozzi
Time isn't even a real thing why are we pretending it is and making it a first class type in markup languages? Now we can't use TOML in GPS satellites
2 replies 0 retweets 3 likes
Yes, that was a relativity joke fite me
-
-
Replying to @sgrif
Seemed like a relatively good joke from my frame of reference
0 replies 0 retweets 2 likesThanks. 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.