deserialiseComponentGroup

fun <T : Any> deserialiseComponentGroup(componentGroups: List<ComponentGroup>, clazz: KClass<T>, groupEnum: ComponentGroupEnum, forceDeserialize: Boolean = false, factory: SerializationFactory = SerializationFactory.defaultFactory, context: SerializationContext = factory.defaultContext): List<T>

This function knows how to deserialize a transaction component group.

In case the componentGroups is an instance of LazyMappedList, this function will just use the original deserialized version, and avoid an unnecessary deserialization. The forceDeserialize will force deserialization. In can be used in case the SerializationContext changes.