Class CollectionAdapter
java.lang.Object
net.thucydides.model.reports.json.gson.CollectionAdapter
- All Implemented Interfaces:
com.google.gson.JsonSerializer<Collection<?>>
public class CollectionAdapter
extends Object
implements com.google.gson.JsonSerializer<Collection<?>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonElementserialize(Collection<?> src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
-
Constructor Details
-
CollectionAdapter
public CollectionAdapter()
-
-
Method Details
-
serialize
public com.google.gson.JsonElement serialize(Collection<?> src, Type typeOfSrc, com.google.gson.JsonSerializationContext context) - Specified by:
serializein interfacecom.google.gson.JsonSerializer<Collection<?>>
-