Skip to content

code generation renames the reference variables, class names randomly  #4

@LOG-TAG

Description

@LOG-TAG

1>
{
"responseCode": "200",
"responseMessage": "OK"
}

private String mResponseMessage this should be responseCode. when we use GSON parsing it's really helpful.

2>
I also observed if the Json object prefix is { "Options" :{.....}} the class name changes from Options to Option.java !! it should be Options.java

3>
"doc_value": "a2" after code generation changes to String mDocValue; this is not good! we have to rename it again or we have to use @SerializedName("3") annotations!

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