On Fri, Sep 27, 2024 at 5:57 PM Bryn Hakl <
bryn...@gmail.com> wrote:
>
> I have a class with a custom data type in it that I'm serializing with annotations
> ```
> public class Example {
> @JsonDeserialize(using = Deserializer.class)
> T exampleObject;
>
> //This is wrong
> @JsonDeserialize(using = Deserializer.class)
Should be
@JsonDeserializer(contentUsing = Deserializer.class)
to be used for Array (or List, Set, Map) elements; "using" refers to
the exact full value (Array).
> T[] exampleArray;
Hope this helps,
-+ Tatu +-