Package ru.moysklad.remap_1_2.utils.json
Class ProductAttributeMarkerSerializer
- java.lang.Object
-
- ru.moysklad.remap_1_2.utils.json.ProductAttributeMarkerSerializer
-
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<ProductAttributeMarker>,com.google.gson.JsonSerializer<ProductAttributeMarker>
public class ProductAttributeMarkerSerializer extends Object implements com.google.gson.JsonSerializer<ProductAttributeMarker>, com.google.gson.JsonDeserializer<ProductAttributeMarker>
-
-
Constructor Summary
Constructors Constructor Description ProductAttributeMarkerSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProductAttributeMarkerdeserialize(com.google.gson.JsonElement json, Type type, com.google.gson.JsonDeserializationContext context)com.google.gson.JsonElementserialize(ProductAttributeMarker resource, Type type, com.google.gson.JsonSerializationContext context)
-
-
-
Method Detail
-
deserialize
public ProductAttributeMarker deserialize(com.google.gson.JsonElement json, Type type, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
- Specified by:
deserializein interfacecom.google.gson.JsonDeserializer<ProductAttributeMarker>- Throws:
com.google.gson.JsonParseException
-
serialize
public com.google.gson.JsonElement serialize(ProductAttributeMarker resource, Type type, com.google.gson.JsonSerializationContext context)
- Specified by:
serializein interfacecom.google.gson.JsonSerializer<ProductAttributeMarker>
-
-