Class DimensionAdapter
java.lang.Object
com.kheops.jmap.metadata.mapcontext.DimensionAdapter
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<Dimension>
,com.google.gson.JsonSerializer<Dimension>
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DimensionAdapter
public DimensionAdapter()
-
-
Method Details
-
deserialize
public Dimension deserialize(com.google.gson.JsonElement jsonElement, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException - Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<Dimension>
- Throws:
com.google.gson.JsonParseException
-
serialize
public com.google.gson.JsonElement serialize(Dimension src, Type typeOfSrc, com.google.gson.JsonSerializationContext context) - Specified by:
serialize
in interfacecom.google.gson.JsonSerializer<Dimension>
-