I mean I brought this on myself, but I'm so so close to having my super multiformat combined value type and having it pass all my testshttps://twitter.com/mgattozzi/status/1214958642342088709 …
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.
-
-
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
-
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
- 5 more replies
New conversation -
-
-
Based on a quick read through the toml source, if you hint to the deserializer you're expecting a string then it works, but serde_json::Value calls deserialize_any so you'll get { $__toml_private_datetime: "value" } so that's cool
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.