Package org.mycore.frontend.classeditor
Class MCRCategoryListTypeAdapter
java.lang.Object
org.mycore.common.MCRJSONTypeAdapter<MCRCategoryListWrapper>
org.mycore.frontend.classeditor.MCRCategoryListTypeAdapter
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<MCRCategoryListWrapper>
,com.google.gson.JsonSerializer<MCRCategoryListWrapper>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) com.google.gson.JsonElement
serialize
(MCRCategoryListWrapper categListWrapper, Type typeOfSrc, com.google.gson.JsonSerializationContext context) Methods inherited from class org.mycore.common.MCRJSONTypeAdapter
bindTo
-
Constructor Details
-
MCRCategoryListTypeAdapter
public MCRCategoryListTypeAdapter()
-
-
Method Details
-
serialize
public com.google.gson.JsonElement serialize(MCRCategoryListWrapper categListWrapper, Type typeOfSrc, com.google.gson.JsonSerializationContext context) -
deserialize
public MCRCategoryListWrapper deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException - Throws:
com.google.gson.JsonParseException
-