You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@JacksonXmlRootElement(localName = "Data")
open class DefaultResponse(
open var errorCode: Int = 0,
open var errorDescription: String = "OK",
@Deprecated
@JacksonXmlProperty(localName="ErrorId")
open var ErrorId: Int = 0
)
which is returned by spring rest controller. When deserialized I receive:
@fire-papaya Can this be reproduced with plain Java? If not, I'll move this to Kotlin module; XML module has no knowledge of Kotlin handling. If reproducible with just Java, can remain here but will need java-only reproduction.
When serializing Kotlin open class @JacksonXmlProperty localname is ignored
Dependencies and versions:
I have a response model bean:
which is returned by spring rest controller. When deserialized I receive:
But if I return Java object e.g.
The following body is received
The text was updated successfully, but these errors were encountered: