Package-level declarations

Types

Link copied to clipboard
open class BoomerangFormat
Link copied to clipboard
class RootBoomerangDecoder(val boomerang: Boomerang, val serializersModule: SerializersModule = EmptySerializersModule()) : AbstractDecoder
Link copied to clipboard
class RootBoomerangEncoder(val serializersModule: SerializersModule = EmptySerializersModule()) : AbstractEncoder

Functions

Link copied to clipboard
inline fun <T : @Serializable Any> BoomerangStore.getSerializable(): T?

Extension function for BoomerangStore that retrieves and deserializes an object of type T.

inline fun <T : @Serializable Any> Boomerang.getSerializable(key: String): T?

Extension function for Boomerang that retrieves and deserializes an object of type T with the specified key.

inline fun <T : @Serializable Any> BoomerangStore.getSerializable(key: String): T?

Extension function for BoomerangStore that retrieves and deserializes an object of type T with the specified key.

Link copied to clipboard
inline fun <T : @Serializable Any> kotlinxSerializationBoomerangCatcher(crossinline catcher: (T) -> Boolean): BoomerangCatcher

Creates a BoomerangCatcher that deserializes the caught boomerang into an object of type T using Kotlinx Serialization.

Link copied to clipboard
inline fun <T : @Serializable Any> Boomerang.putSerializable(key: String, value: T)

Extension function for Boomerang that adds a serializable object of type T with the specified key.

Link copied to clipboard
inline fun <T : @Serializable Any> BoomerangStore.storeValue(value: T)

Extension function for BoomerangStore that stores a serializable object of type T.

inline fun <T : @Serializable Any> BoomerangStore.storeValue(key: String, value: T)

Extension function for BoomerangStore that stores a serializable object of type T with the specified key.