public class CollectionAdapter extends Object implements com.google.gson.JsonSerializer<Collection<?>>
| Constructor and Description |
|---|
CollectionAdapter() |
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonElement |
serialize(Collection<?> src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
public com.google.gson.JsonElement serialize(Collection<?> src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
serialize in interface com.google.gson.JsonSerializer<Collection<?>>Copyright © 2022. All rights reserved.