public class ProductMarkerSerializer extends Object implements com.google.gson.JsonSerializer<ProductMarker>, com.google.gson.JsonDeserializer<ProductMarker>
ProductMarker. В зависимости от метаданных,
возвращает экземпляр одного из классов: Product, Service, Bundle, Variant| Constructor and Description |
|---|
ProductMarkerSerializer() |
| Modifier and Type | Method and Description |
|---|---|
ProductMarker |
deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
com.google.gson.JsonElement |
serialize(ProductMarker src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
public com.google.gson.JsonElement serialize(ProductMarker src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
serialize in interface com.google.gson.JsonSerializer<ProductMarker>public ProductMarker deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize in interface com.google.gson.JsonDeserializer<ProductMarker>com.google.gson.JsonParseExceptionCopyright © 2023. All rights reserved.