Package com.postman.collection.adapter
Class ItemGroupDeserializer
java.lang.Object
com.postman.collection.adapter.ItemGroupDeserializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<ItemGroup>
public class ItemGroupDeserializer
extends Object
implements com.google.gson.JsonDeserializer<ItemGroup>
Deserializes ItemGroup objects, the
item
propertyList in a collection-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonElement jElement, Type typeOfT, com.google.gson.JsonDeserializationContext context) Deserialize aItemGroup
from theitem
propertyList
-
Constructor Details
-
ItemGroupDeserializer
public ItemGroupDeserializer()
-
-
Method Details
-
deserialize
public ItemGroup deserialize(com.google.gson.JsonElement jElement, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException Deserialize aItemGroup
from theitem
propertyList- Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<ItemGroup>
- Parameters:
jElement
- The JSON element passed in by GsontypeOfT
- The type for the adapter,RequestAuth
context
- Deserialization context- Returns:
- ItemGroup The assembed
ItemGroup
- Throws:
com.google.gson.JsonParseException
- IF there are errors in the JSON element
-