gmaciel
03/06/2017, 10:17 AMapatrida
03/07/2017, 2:23 PMgmaciel
03/07/2017, 2:25 PMenum class Test {
@JsonProperty("ii") II,
@JsonProperty("i") I;
}
gmaciel
03/07/2017, 2:26 PMi
or ii
it breaksgmaciel
03/07/2017, 2:26 PMJsonCreator
for the enum and parse it myselfgmaciel
03/07/2017, 2:26 PMapatrida
03/07/2017, 2:26 PMgmaciel
03/07/2017, 2:26 PMgmaciel
03/07/2017, 2:26 PMapatrida
03/07/2017, 2:27 PMapatrida
03/07/2017, 2:30 PMREAD_UNKNOWN_ENUM_VALUES_AS_NULL
READ_UNKNOWN_ENUM_VALUES_USING_DEFAULT_VALUE
probably not those, because they deal with the enum itself not its properties.
FAIL_ON_UNKNOWN_PROPERTIES
would normally be the setting for missing propertiesapatrida
03/07/2017, 2:31 PMapatrida
03/07/2017, 2:32 PMgmaciel
03/07/2017, 3:15 PMsdeleuze
03/15/2017, 6:13 PMkotlin-reflect
coming with Jackson to avoid having kotlin-reflect:1.0.6
even if iI declare explicitely kotlin-reflect:1.1.1
in my Gradle config. https://github.com/mix-it/mixit/commit/7e75be7b62c339b5f004ce2dcaf6cf2c78feb87csdeleuze
03/15/2017, 6:13 PMsdeleuze
03/15/2017, 6:15 PMsdeleuze
03/15/2017, 6:15 PMapatrida
03/16/2017, 1:16 AMapatrida
03/16/2017, 1:16 AMapatrida
03/16/2017, 1:16 AMhackerham
03/31/2017, 5:56 PMDalinar
04/02/2017, 4:31 AMwesbillman
04/03/2017, 2:51 PMkerdosa
04/17/2017, 6:54 PMdata class PostalAddress @JsonCreator constructor(
val streetAddress1: String? = null,
val streetAddress2: String? = null,
val city: String? = null,
val stateProvince: String? = null,
val postalCode: String? = null,
val postalCodePlusFour: String? = null,
val countryCode: String? = null,
val validated: Boolean? = null
) : Serializable {
constructor(@JsonProperty("postalCode") postalCode: String) : this(null, null, null, null, postalCode, null, null, false)
apatrida
04/17/2017, 7:55 PMtyrondis
04/24/2017, 2:00 PMroborative
04/26/2017, 8:55 PMdata class Diagnosis(@JsonIgnore @Id val id: ObjectId? = null,
@JsonProperty("apuid") val apuId: Int,
@JsonProperty("RecordID") val recordId: String,
@Indexed val patientId: String,
val patientAccountNo: String,
val encounterId: String,
val encounterDate: LocalDate,
@JsonProperty("ProviderNPI") val providerNpi: String?,
@JsonProperty("ICDCode") val icdCode: String?,
val name: String,
@JsonDeserialize(contentUsing = LenientLocalDateDeserializer::class) @JsonFormat(pattern = "M/d/yyyy") val assessmentOnsetDate: LocalDate?)
roborative
04/26/2017, 8:56 PMusing
argument as well but it doesn't seem to have any effect.roborative
04/26/2017, 8:57 PM