Created
April 15, 2019 13:34
-
-
Save sirius2k/6e745d94c5b33757a01f35fb3727e21b to your computer and use it in GitHub Desktop.
Jackson deserialization only not null property annotation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package kr.co.redbrush.microservice.app.data | |
import com.fasterxml.jackson.annotation.JsonInclude | |
@JsonInclude(JsonInclude.Include.NON_NULL) | |
data class Account(var id: String = "", var password: String = "", var telephone: Telephone? = null) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment