JSONToKotlinClass
JSONToKotlinClass copied to clipboard
Numbers in JSON Are Removed In Target Name
If you have a json with numbers in keys like this:
"url16": "https://...", "url48": "https://..."
JSONToKotlinClass removed these numbers and the resulted class looked like this:
data class Icon(val url: String = "", val url: String = "",
This obviously results in a compiler error and you have to add the missing numbers manually.