All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.dk.cachet.carp.common.infrastructure.serialization.UnknownPolymorphicWrapper.kt Maven / Gradle / Ivy

Go to download

Helper classes and base types relied upon by all subsystems. This library does not contain any domain logic.

The newest version!
package dk.cachet.carp.common.infrastructure.serialization


/**
 * Provides access to serialized JSON ([jsonSource]) of an instance of the class identified by the fully qualified [className].
 * This interface needs to be implemented by wrapper objects returned by [UnknownPolymorphicSerializer].
 */
interface UnknownPolymorphicWrapper
{
    val className: String
    val jsonSource: String
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy