deep_pick
deep_pick copied to clipboard
Pick values from Dart deep nested data structures (usually json)
https://www.designcise.com/web/tutorial/whats-the-difference-between-php-datetime-atom-and-datetime-iso8601 Basically ISO-8601 but with colons separating the time zone hh and mm
https://en.wikipedia.org/wiki/Unix_time Time in seconds since 1-1-1970 0:00 ``` pick(1000000000).asDateTimeOrThrow(); // 2001-09-09T01:46:40Z ``` This is a direct conflict with `millisecondsSinceEpoch`.
I have a json object that includes a standard map/dictionary with string keys and values I'd like to convert to instances of MyObject. How can I do that? I see...
https://datatracker.ietf.org/doc/html/rfc822#section-5 Example: ``` Mon, 01 Nov 21 11:53:15 +0000 ```
Currently only `GMT`/`UT` are supported. But more are possible according to the rfc ``` zone = "UT" / "GMT" ; Universal Time ; North American : UT / "EST" /...
https://datatracker.ietf.org/doc/html/rfc1036#section-2.1.2 ``` 2.1.2. Date The "Date" line (formerly "Posted") is the date that the message was originally posted to the network. Its format must be acceptable both in RFC-822 and...
https://datatracker.ietf.org/doc/html/rfc2822#page-14 > RFC 2822 includes the shortened day of week, numerical date, three-letter month abbreviation, year, time, and time zone, displaying as 01 Jun 2016 14:31:46 -0700.
https://www.w3.org/TR/NOTE-datetime It seems to differ from ISO 8601 in the time zone format. It separates hh and mm with a colon `:`