Skip to content

Commit

Permalink
Update ResponseExtensions.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
iNoles authored May 28, 2024
1 parent d7db6a7 commit de9647e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ import kotlinx.serialization.DeserializationStrategy
import kotlinx.serialization.json.Json

public expect fun <T : Any> HttpResponse.toJson(
json: Json = Json { allowStructuredMapKeys = true },
json: Json = Json,
deserializationStrategy: DeserializationStrategy<T>
): Result<T?, Throwable>

0 comments on commit de9647e

Please sign in to comment.