Possible to not serialize null? #210
Unanswered
felixgabler
asked this question in
Ideas & Requests
Replies: 1 comment 2 replies
-
Hmm interesting suggestion, I will read more about that. Thanks! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Since the models use
json_serializable
, I was wondering whether we could make it possible to disable the behavior where null values are included in the JSON.https://pub.dev/documentation/json_annotation/latest/json_annotation/JsonKey/includeIfNull.html
This would keep the database smaller since there are often quite a few null values (e.g. most of the author)
Beta Was this translation helpful? Give feedback.
All reactions