Kotlin Utilities which use in daily life
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.genxas:daily-kotlin:0.1.3'
}
Single object
"{\"name\": \"john doe\"}".toObject<User>()
Multiple objects
"[{\"name\": \"john doe\"}, {\"name\": \"jane doe\"}]".toObjects<User>()
Show number with comma format
1000.1.thousands() // 1,000.1