public class CollectionAdapter
extends java.lang.Object
implements com.google.gson.JsonSerializer<java.util.Collection<?>>
Constructor and Description |
---|
CollectionAdapter() |
Modifier and Type | Method and Description |
---|---|
com.google.gson.JsonElement |
serialize(java.util.Collection<?> src,
java.lang.reflect.Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |