We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have @serializable data class A (var taskStatus: String? = null, var locale: String = "en-US")
I want to deserialize all defaults except null value: {"locale": "en-US"}
The text was updated successfully, but these errors were encountered:
See also #195
Sorry, something went wrong.
Providing EncodeDefault annotation per field can be helpful to this situation. #1091
I want to deserialize all defaults except null value
Same feature is required in Protobuf to help handle null values by omitting
Fixed along with #195
No branches or pull requests
I have
@serializable
data class A (var taskStatus: String? = null,
var locale: String = "en-US")
I want to deserialize all defaults except null value:
{"locale": "en-US"}
The text was updated successfully, but these errors were encountered: