I'm getting things like that with : ``` @Suppress(...
# jackson-kotlin
b
I'm getting things like that with :
Copy code
@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
)