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 …
-
Show this thread
-
Json? Yaml? Toml? Don't care turn it into the same type
3 replies 0 retweets 4 likesShow 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
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
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.