On Mon, Feb 12, 2018 at 3:03 AM, Bademux <bade...@lauresh.net> wrote:
> Hello, > Can you please help me to find solution how to wrap POJO with array > (create singletonArray). > Unfortunatly StdDelegatingSerializer leads to expected infinite loop: > > public OUT convert(IN value){ > return new Object[]{value} > } > > Is there any smart generic way to solve my problem or per-type custom > serializers is the only way? > > I am not sure what exactly you are trying to do here. Can you show JSON and/or classes you want to work with. -+ Tatu +- -- You received this message because you are subscribed to the Google Groups "jackson-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to jackson-user+unsubscr...@googlegroups.com. To post to this group, send email to jackson-user@googlegroups.com. For more options, visit https://groups.google.com/d/optout.