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

commonMain.configuration.KspoonConfiguration.kt Maven / Gradle / Ivy

package dev.burnoo.kspoon.configuration

import com.fleeksoft.ksoup.Ksoup
import com.fleeksoft.ksoup.nodes.Document
import dev.burnoo.kspoon.HtmlTextMode
import kotlinx.serialization.modules.EmptySerializersModule
import kotlinx.serialization.modules.SerializersModule

@PublishedApi
internal class KspoonConfiguration(
    val parse: Ksoup.(html: String) -> Document = { parse(it) },
    val defaultTextMode: HtmlTextMode = HtmlTextMode.Text,
    val coerceInputValues: Boolean = false,
    val serializersModule: SerializersModule = EmptySerializersModule(),
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy