public class PluginComponentsDeserializer extends Object implements com.google.gson.JsonDeserializer<Collection<PluginComponent>>
Constructor and Description |
---|
PluginComponentsDeserializer() |
Modifier and Type | Method and Description |
---|---|
Collection<PluginComponent> |
deserialize(com.google.gson.JsonElement element,
Type type,
com.google.gson.JsonDeserializationContext context)
Gson invokes this call-back method during deserialization when it encounters a field of the specified type.
|
public Collection<PluginComponent> deserialize(com.google.gson.JsonElement element, Type type, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<Collection<PluginComponent>>
element
- The Json data being deserializedtype
- The type of the Object to deserialize tocontext
- The JSON deserialization contextcom.google.gson.JsonParseException
Copyright © 2018. All rights reserved.