Hacker News new | ask | show | jobs
by wereHamster 3482 days ago
That only works for primitive types. As soon as you start using classes and sumtypes then you need an explicit parser. I wrote one for a client about a year ago. It took a lot of effort but well worth it.