Re: [jackson-user] @JsonTypeInfo and multiple levels of inheritance

2018-10-13 Thread Tatu Saloranta
On Fri, Oct 12, 2018 at 7:12 AM Jan-Olav Eide wrote: > > Using Jackson 2.9.6, i came across the following, which to me looks like a > bug. Abstract superclass A has two subclasses, B and C, where B again has a > subclass D > > Adding the @JsonTypeInfo and @JsonSubTypes annotations as shown

Re: [jackson-user] Excluding empty/null fields in JsonGenerator

2018-10-13 Thread Tatu Saloranta
On Sat, Oct 13, 2018 at 1:22 PM Volkan Yazıcı wrote> > While using `JsonGenerator`, how can I exclude empty/null/blank object fields? > > (I have asked the very same question on SO as well, but could not get any > answer yet. Hence the cross-post.) By not writing them. That is, generator

[jackson-user] Excluding empty/null fields in JsonGenerator

2018-10-13 Thread Volkan Yazıcı
While using `JsonGenerator`, how can I exclude empty/null/blank object fields? (I have asked the very same question on SO as well, but could not get any answer yet. Hence the cross-post.) -- You received this message because you are subscribed