Correct, when I construct this Map and pass it back as part
of exception handling Rest response body (500 HTTP status), I see each item
has a proper value.
However, when the exception is thrown on the caller side, and I try to
examine the response body
Correction:
"[..] I don't see any relevant POJO/bean properties when the Map is
constructed."
Meant to say, I don't see any relevant properties of these beans when I
examine the response body as string and see only the JSON sample I posted
in the previous reply.
On Wednesday, May 22, 2019
On Wed, May 22, 2019 at 4:25 AM Uzh Valin wrote:
>
> Correct, when I construct this Map and pass it back as part
> of exception handling Rest response body (500 HTTP status), I see each item
> has a proper value.
>
> However, when the exception is thrown on the caller side, and I try to
>
Hi,
I have a property which can be an integer or an object without any explicit
`type` property. I tried to use JsonDeserialize annotation and provide a
custom deserializer;
data class Report(val measures: List)
@JsonDeserialize(using=IntOrMeasureDeserializer::class)
sealed class IntOrMeasure