Closed seanmccleary closed 7 years ago
Thanks for the pull request. The problem is that this would only support subclasses for mirror based implementation and will cause unexpected behavior for the dart2js result. An implementation into dartson needs to fulfill both requirements. I'm still working on a possible solution for this problem.
Oh, I understand. Thanks for the explanation. Anything I can do to help? This is functionality that I would very much like to have. I see there are other solutions out there to deserialize JSON into typed objects, but only on the server side using mirrors. Can't find anything for the web. Even Angular2, it seems, can only turn JSON into untyped objects.
If there's anything I can do to help, just let me know.
Fix for #7 (and I think maybe #37 too?)