posixMain.io.ktor.serialization.kotlinx.ExtensionsNative.kt Maven / Gradle / Ivy
/*
* Copyright 2014-2024 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.ktor.serialization.kotlinx
import io.ktor.utils.io.*
@Suppress("ObjectPropertyName")
private val _providers: MutableList = mutableListOf()
internal actual val providers: List = _providers
@InternalAPI
public fun addExtensionProvider(provider: KotlinxSerializationExtensionProvider) {
_providers.add(provider)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy