Philipp Mayer
03/24/2021, 9:41 PMval socketLens = Body.auto<Set<Socket>>().toLens()
just throws
No JsonAdapter for class java.util.LinkedHashSet, you should probably use Set instead of LinkedHashSet (Moshi only supports the collection interfaces by default) or else register a custom JsonAdapter.
and I'm not sure if I really want to add all of that: https://pulseadvancedmedia.co.uk/java/moshi-adapters-for-platform-types-like-arraylist-and-linkedlist/
Any tips what I'm missing? What are you guys using? I'm just used to Jackson, but it makes use of reflection, so I rather not use it for GraalVM I guess.
Thanks in advance!dave
03/24/2021, 9:50 PMPhilipp Mayer
03/24/2021, 9:52 PMdave
03/24/2021, 9:53 PMPhilipp Mayer
03/24/2021, 9:54 PMdave
03/24/2021, 9:56 PMRazvan
03/27/2021, 10:09 AM