bjonnh
@Suppress("EnumEntryName") enum class NlmCategory { BACKGROUND, OBJECTIVE, METHODS, RESULTS, CONCLUSIONS, UNASSIGNED } @JsonIgnoreProperties(ignoreUnknown = true) class AbstractText ( /*@JacksonXmlProperty(isAttribute = true) val label: String? = null */ /*@JacksonXmlProperty(isAttribute = true, localName = "NlmCategory") val nlmCategory: NlmCategory? = null*/ @JacksonXmlText var value: String? = null ) @JsonIgnoreProperties(ignoreUnknown = true) data class Abstract ( @JacksonXmlElementWrapper(useWrapping = true) //@JacksonXmlProperty(localName = "AbstractText") @JsonProperty("AbstractText") var abstractText: List<AbstractText> = listOf(), @JsonProperty("CopyrightInformation") val copyrightInformation: CopyrightInformation? = null )
A modern programming language that makes developers happier.