serialize

open fun serialize(    src: EffectGroup<P>,     typeOfSrc: Type,     context: JsonSerializationContext): JsonElement