Helidon WebClient typed collections serialization/deserialization examples #8530
-
In essence I would like to obtain the same scenario as we have for a single element but with typed collections. If we have something like this for a single element
How should it be for List? Considering usage of helidon-http-media-jackson |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
(Disclaimer: I confess that the fluent style of APIs is never obvious to me; I'm an old-school javadoc-first person.) Working backwards, you want a
So, untested, but does:
…get you pointed in the right direction? Or am I way off? |
Beta Was this translation helpful? Give feedback.
(Disclaimer: I confess that the fluent style of APIs is never obvious to me; I'm an old-school javadoc-first person.)
Working backwards, you want a
GenericType
, I think. Its documentation is very difficult to understand, but I think you create one like this (note the anonymous subclass nature of it):So, untested, but does:
…get you pointed in the right direction? Or am I way off?