News for hackers. Stuff that matters.
Re:Announcing Dart 2: Optimized for Client-Side Development by kevmoo1 on Thursday February 22, 2018 @05:44PM (#16442251)
In some cases, there is a trivial one-to-one mapping between a Javascript object and it's JSON serialization.

This is not the case in Dart for a number of reasons.

Many folks are happy with the solution we have – here's an example: https://github.com/dart-lang/json_serializable/tree/master/e...

We're certainly interested in making this better in the future, but as Bob said (https://news.ycombinator.com/item?id=16441665) we're very focused on finishing Dart 2 first.

Re:Announcing Dart 2: Optimized for Client-Side Development by nozzlegear on Thursday February 22, 2018 @08:09PM (#16443288)
Thanks for the link, I remember stumbling on this at some point but don't remember why I didn't use it; I'll give this solution another shot! And like I said above, I don't mean to trivialize how much work would be involved in making Json work better with Dart. I'd love to use this language in my day-to-day work, but the Json story has been the only blocker there.