Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wouldn't it be possible to add some kind of @json class annotation then, which cannot be combined with "extends" and dynamic types? I understand that serialization of inheritance trees and arbitrary data is a complicated problem. So why not allow a simple case first and continue from there?

I guess inbuilt json serialization of simple types would already cover alot of real world rest scenarios which most users care about.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: