json_serializable.dart icon indicating copy to clipboard operation
json_serializable.dart copied to clipboard

Ignore properties if `createToJson: false`

Open kevmoo opened this issue 3 years ago • 2 comments

No reason to consider these. Would allow one-way processing of JSON that doesn't map 1-to-1 with the resulting object.

kevmoo avatar Nov 18 '20 17:11 kevmoo

It seems like this issue was already solved.

Ascenio avatar Mar 25 '21 02:03 Ascenio

Eh, I think I still have logic that tries to verify that the constructor params align w/ same-named properties.

kevmoo avatar Mar 25 '21 23:03 kevmoo