by Epskampie · 7y ago · 0 comments
I use [serializr](https://github.com/mobxjs/serializr) to convert json to my classes, and afterwards I can have all the deligtful methods I want. :-) I love the code clarity this gives, methods are where they are most logical, instead of on some helper object.
[1] https://github.com/typestack/class-transformer [2] https://github.com/typestack/class-validator