UrlEncoder for Kotlin Multiplatform
<1 min read
I've just released the first multiplatform version of the UrlEncoder for Kotlin library. A simple defensive library to encode/decode URL components.
UrlEncoderUtil.encode("?test=a test", allow = "?=") // -> ?test=a%20test
UrlEncoderUtil.decode("foo+bar", plusToSpace = true) // -> foo bar
Big shout-out to Adam for getting this going.