Skip to content

Numbers in JSON Are Removed In Target Name #7

Description

@Grauen

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions