mirror of
https://github.com/revanced/revanced-api.git
synced 2025-04-29 22:24:31 +02:00
12 lines
266 B
Kotlin
12 lines
266 B
Kotlin
package app.revanced.api.modules
|
|
|
|
import io.ktor.serialization.kotlinx.json.*
|
|
import io.ktor.server.application.*
|
|
import io.ktor.server.plugins.contentnegotiation.*
|
|
|
|
fun Application.configureSerialization() {
|
|
install(ContentNegotiation) {
|
|
json()
|
|
}
|
|
}
|