Beispiel #1
0
 @Override
 public Set read(DeserializationContext context) throws IOException {
   return new HashSet<>(context.readList(Object.class));
 }
Beispiel #2
0
 @Override
 public List read(DeserializationContext context) throws IOException {
   return context.readList(Object.class);
 }