Philipp Mayer03/24/2021, 9:41 PM
val socketLens = Body.auto<Set<Socket>>().toLens()
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!
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.
dave03/24/2021, 9:50 PM
Philipp Mayer03/24/2021, 9:52 PM
dave03/24/2021, 9:53 PM
Philipp Mayer03/24/2021, 9:54 PM
dave03/24/2021, 9:56 PM
Razvan03/27/2021, 10:09 AM