Martin Edlman

Results 7 comments of Martin Edlman

I would suggest to reuse existing field's attributes `toJson` and `fromJson` - ignore it when set to `null`. I use following workaround with `ignore` global function which always returns null...

I would suggest to reuse existing field's attributes `toJson` and `fromJson` - ignore it when set to `null`. I use following workaround with `ignore` global function which always returns null...

Hello, I'm not sure wheter to open new issue or just comment this one. I have a model on server side where I have two getters which return values base...

@kevmoo, yes I need to create this class from json (or other map, e.g. database Row). It's on the server side, some data are fetched from PgSQL to the object...

Practically yes. When I use getters I expect to have simplier JSON on input to _$ModelFromJson (either from DB or from client). On output from $_ModelToJson I expect richer JSON...

I encountered the same (for me strange) behavior. Why is field excluded from "toJson" method when I set "includeFromJson: false"? I don't see any reason for this. - `@JsonKey() String?...

I have encountered the same problem with generics types on class members. Is there a solution. For now I've created several converters for each . For now I have four...