Package-level declarations
Types
Link copied to clipboard
abstract class AbstractJsonCodec<Value : Any, in Context : JsonCodingContext>(additionalProviders: List<JsonCodecProvider<Context>> = emptyList(), decodableType: JsonCodingType<Value>? = null) : JsonCodec<Value, Context>
Link copied to clipboard
abstract class AbstractJsonDecoderCodec<Value : Any, in Context : JsonCodingContext>(additionalProviders: List<JsonCodecProvider<Context>> = emptyList(), decodableType: JsonCodingType<Value>? = null) : JsonDecoderCodec<Value, Context>
Link copied to clipboard
abstract class AbstractJsonEncoderCodec<Value : Any, in Context : JsonCodingContext>(additionalProviders: List<JsonCodecProvider<Context>> = emptyList(), encodableClass: KClass<Value>? = null) : JsonEncoderCodec<Value, Context>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
object DefaultJsonCodecs
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class EnumJsonCodecProvider(val transformation: EnumJsonTransformation) : JsonCodecProvider<JsonCodingContext>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface JsonCodec<Value : Any, in Context : JsonCodingContext> : JsonDecoderCodec<Value, Context> , JsonEncoderCodec<Value, Context>
Link copied to clipboard
Link copied to clipboard
interface JsonCodingContext
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface JsonDecoderCodec<Value : Any, in Context : JsonCodingContext> : JsonCodecProvider<Context>
Link copied to clipboard
Link copied to clipboard
interface JsonEncoderCodec<in Value : Any, in Context : JsonCodingContext> : JsonCodecProvider<Context>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the KClass instance representing the runtime class to which this type is erased to on JVM.
Functions
Link copied to clipboard
inline fun <ActualValue : Any, Context : JsonCodingContext> JsonCodecProvider<Context>.decoderCodecForType(): JsonDecoderCodec<ActualValue, Context>?
Link copied to clipboard
inline fun <ActualValue : Any, Context : JsonCodingContext> JsonCodecProvider<Context>.encoderCodecForClass(): JsonEncoderCodec<ActualValue, Context>?
Link copied to clipboard
inline fun <Value : Enum<Value>> EnumJsonCodec(transformation: EnumJsonTransformation): EnumJsonCodec<Value>
fun <Value : Enum<*>> EnumJsonCodec(enumClass: KClass<Value>, transformation: EnumJsonTransformation): EnumJsonCodec<Value>
Link copied to clipboard
fun <Context : JsonCodingContext> JsonCodecProvider.Companion.factory(factory: (valueClass: KClass<out Any>) -> JsonCodec<Any, Context>?): JsonCodecProvider<Context>
fun JsonCodecProvider.Companion.factory(factory: (valueClass: KClass<out Any>) -> JsonCodec<Any, JsonCodingContext>?): JsonCodecProvider<JsonCodingContext>
fun <Context : JsonCodingContext> JsonCodecProvider.Companion.factory(factory: (valueClass: KClass<out Any>) -> JsonDecoderCodec<Any, Context>?): JsonCodecProvider<Context>
fun JsonCodecProvider.Companion.factory(factory: (valueClass: KClass<out Any>) -> JsonDecoderCodec<Any, JsonCodingContext>?): JsonCodecProvider<JsonCodingContext>
fun <Context : JsonCodingContext> JsonCodecProvider.Companion.factory(factory: (valueClass: KClass<out Any>) -> JsonEncoderCodec<Any, Context>?): JsonCodecProvider<Context>
fun JsonCodecProvider.Companion.factory(factory: (valueClass: KClass<out Any>) -> JsonEncoderCodec<Any, JsonCodingContext>?): JsonCodecProvider<JsonCodingContext>
Link copied to clipboard
inline fun <Value : Any, Context : JsonCodingContext> JsonCodecProvider.Companion.factoryOf(noinline factory: (valueClass: KClass<out Value>) -> JsonCodec<Value, Context>?): JsonCodecProvider<Context>
inline fun <Value : Any> JsonCodecProvider.Companion.factoryOf(noinline factory: (valueClass: KClass<out Value>) -> JsonCodec<Value, JsonCodingContext>?): JsonCodecProvider<JsonCodingContext>
inline fun <Value : Any, Context : JsonCodingContext> JsonCodecProvider.Companion.factoryOf(noinline factory: (valueClass: KClass<out Value>) -> JsonDecoderCodec<Value, Context>?): JsonCodecProvider<Context>
inline fun <Value : Any> JsonCodecProvider.Companion.factoryOf(noinline factory: (valueClass: KClass<out Value>) -> JsonDecoderCodec<Value, JsonCodingContext>?): JsonCodecProvider<JsonCodingContext>
inline fun <Value : Any, Context : JsonCodingContext> JsonCodecProvider.Companion.factoryOf(noinline factory: (valueClass: KClass<out Value>) -> JsonEncoderCodec<Value, Context>?): JsonCodecProvider<Context>
inline fun <Value : Any> JsonCodecProvider.Companion.factoryOf(noinline factory: (valueClass: KClass<out Value>) -> JsonEncoderCodec<Value, JsonCodingContext>?): JsonCodecProvider<JsonCodingContext>
fun <Value : Any, Context : JsonCodingContext> JsonCodecProvider.Companion.factoryOf(valueClass: KClass<out Value>, factory: (valueClass: KClass<out Value>) -> JsonCodec<Value, Context>?): JsonCodecProvider<Context>
fun <Value : Any> JsonCodecProvider.Companion.factoryOf(valueClass: KClass<out Value>, factory: (valueClass: KClass<out Value>) -> JsonCodec<Value, JsonCodingContext>?): JsonCodecProvider<JsonCodingContext>
fun <Value : Any, Context : JsonCodingContext> JsonCodecProvider.Companion.factoryOf(valueClass: KClass<out Value>, factory: (valueClass: KClass<out Value>) -> JsonDecoderCodec<Value, Context>?): JsonCodecProvider<Context>
fun <Value : Any> JsonCodecProvider.Companion.factoryOf(valueClass: KClass<out Value>, factory: (valueClass: KClass<out Value>) -> JsonDecoderCodec<Value, JsonCodingContext>?): JsonCodecProvider<JsonCodingContext>
fun <Value : Any, Context : JsonCodingContext> JsonCodecProvider.Companion.factoryOf(valueClass: KClass<out Value>, factory: (valueClass: KClass<out Value>) -> JsonEncoderCodec<Value, Context>?): JsonCodecProvider<Context>
fun <Value : Any> JsonCodecProvider.Companion.factoryOf(valueClass: KClass<out Value>, factory: (valueClass: KClass<out Value>) -> JsonEncoderCodec<Value, JsonCodingContext>?): JsonCodecProvider<JsonCodingContext>
Link copied to clipboard
fun <CodecProvider : JsonCodecProvider<*>> JsonCodecProvider.Companion.generated(interfaceClass: KClass<CodecProvider>): CodecProvider
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <Context : JsonCodingContext> JsonCodecProvider(vararg providers: JsonCodecProvider<Context>): JsonCodecProvider<Context>
fun <Context : JsonCodingContext> JsonCodecProvider(providers: Iterable<JsonCodecProvider<Context>>): JsonCodecProvider<Context>
Link copied to clipboard
fun <Type : Any> jsonCodingType(clazz: KClass<out JsonCodingTypeReference<out Type>>): JsonCodingType<Type>
fun <Type : Any> jsonCodingType(clazz: KClass<Type>, vararg arguments: KClass<*>): JsonCodingType<Type>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <Value : Any> JsonCodingParser<*>.parseValueOfType(source: JsonReader, withTermination: Boolean = true): Value
inline fun <Value : Any> JsonCodingParser<*>.parseValueOfType(source: Reader, withTermination: Boolean = true): Value
fun <Value : Any> JsonCodingParser<*>.parseValueOfType(source: String, valueType: JsonCodingType<Value>): Value
fun <Value : Any> JsonCodingParser<*>.parseValueOfType(source: Reader, valueType: JsonCodingType<Value>, withTermination: Boolean = true): Value
Link copied to clipboard
inline fun <Value : Any> JsonCodingParser<*>.parseValueOfTypeOrNull(source: JsonReader, withTermination: Boolean = true): Value?
inline fun <Value : Any> JsonCodingParser<*>.parseValueOfTypeOrNull(source: Reader, withTermination: Boolean = true): Value?
fun <Value : Any> JsonCodingParser<*>.parseValueOfTypeOrNull(source: String, valueType: JsonCodingType<Value>): Value?
fun <Value : Any> JsonCodingParser<*>.parseValueOfTypeOrNull(source: Reader, valueType: JsonCodingType<Value>, withTermination: Boolean = true): Value?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard