From c16f212cc4bd188d40fdc6f66b65bb6b95594d78 Mon Sep 17 00:00:00 2001 From: petersamokhin Date: Thu, 26 Nov 2020 17:07:31 +0000 Subject: [PATCH] Improve Readme and add simple JSON serialization, v1.0.2 --- src/main/kotlin/com/petersamokhin/notionapi/Notion.kt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/main/kotlin/com/petersamokhin/notionapi/Notion.kt b/src/main/kotlin/com/petersamokhin/notionapi/Notion.kt index 8143061..d0a5a9e 100644 --- a/src/main/kotlin/com/petersamokhin/notionapi/Notion.kt +++ b/src/main/kotlin/com/petersamokhin/notionapi/Notion.kt @@ -13,19 +13,11 @@ import com.petersamokhin.notionapi.request.QueryNotionCollectionRequest import com.petersamokhin.notionapi.request.base.NotionRequest import com.petersamokhin.notionapi.utils.dashifyId import io.ktor.client.* -import io.ktor.client.engine.cio.* import io.ktor.client.features.* -import io.ktor.client.features.json.* -import io.ktor.client.features.json.serializer.* import io.ktor.client.request.* import io.ktor.client.statement.* import io.ktor.http.* -import io.ktor.util.* -import kotlinx.serialization.Serializable -import kotlinx.serialization.decodeFromString -import kotlinx.serialization.encodeToString import kotlinx.serialization.json.Json -import kotlinx.serialization.json.decodeFromJsonElement class Notion internal constructor(token: String, private var httpClient: HttpClient) { init {