Re: [jackson-user] JSON Response Has Escaped Quotations Using Jackson and JAX-RS Exception Mapper

2019-05-22 Thread Uzh Valin
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

Re: [jackson-user] JSON Response Has Escaped Quotations Using Jackson and JAX-RS Exception Mapper

2019-05-22 Thread Uzh Valin
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

Re: [jackson-user] JSON Response Has Escaped Quotations Using Jackson and JAX-RS Exception Mapper

2019-05-22 Thread Tatu Saloranta
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 >

[jackson-user] Custom deserializer recursively calls `deserialize` method

2019-05-22 Thread 'ilker cam' via jackson-user
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