com.google.gson.JsonSerializer<ch.hsr.adv.commons.core.logic.domain.ModuleGroup>public class ModuleGroupSerializer
extends java.lang.Object
implements com.google.gson.JsonSerializer<ch.hsr.adv.commons.core.logic.domain.ModuleGroup>
| Constructor | Description |
|---|---|
ModuleGroupSerializer(ServiceProvider serviceProvider) |
| Modifier and Type | Method | Description |
|---|---|---|
com.google.gson.JsonElement |
serialize(ch.hsr.adv.commons.core.logic.domain.ModuleGroup moduleGroup,
java.lang.reflect.Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
Serializes the module group with the module stringifyer.
|
@Inject public ModuleGroupSerializer(ServiceProvider serviceProvider)
public com.google.gson.JsonElement serialize(ch.hsr.adv.commons.core.logic.domain.ModuleGroup moduleGroup,
java.lang.reflect.Type typeOfSrc,
com.google.gson.JsonSerializationContext context)
serialize in interface com.google.gson.JsonSerializer<ch.hsr.adv.commons.core.logic.domain.ModuleGroup>moduleGroup - module grouptypeOfSrc - module group typecontext - serialization context